Validate an uploaded counting-sheet CSV
Step 1 of the two-step CSV import flow. Takes a real multipart CSV upload and returns which rows matched, which didn’t, and which were invalid — without writing anything. The session must be in_progress.
The import flow is stateless: no server-side upload state is kept between this call and import-counts. Round-trip the matchedItems object from this response straight into import-counts (as matched_items) to apply it.
Authorizations
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
Path Parameters
Body
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.
SKUs present in the upload that don't match any item in the session.
row_index => error message, for rows with a non-numeric or negative quantity.
item_id => counted_qty. Round-trip this object as-is into import-counts's matched_items field.