Skip to main content
POST
Validate an uploaded counting-sheet CSV

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

sessionId
integer
required

Body

multipart/form-data
file
file
required

CSV or TXT, max 10MB. Columns "SKU" and "Counted Qty".

Response

The validation result.

Result of validating an uploaded counting-sheet CSV. Nothing is written by the validate step — round-trip matchedItems back into POST /pickflow/cycle-counts/{sessionId}/import-counts (as matched_items) to apply it.

matchedCount
integer
unmatchedCount
integer
invalidCount
integer
hasErrors
boolean
hasMatchedItems
boolean
unmatchedSkus
string[]

SKUs present in the upload that don't match any item in the session.

invalidRows
object

row_index => error message, for rows with a non-numeric or negative quantity.

matchedItems
object

item_id => counted_qty. Round-trip this object as-is into import-counts's matched_items field.