Skip to main content

Import Lines from CSV

POST 

/api/stock-takes/:stockTake/import-lines

Import stock take lines from a previously uploaded CSV file. The CSV must have columns: sku or id (product identifier), and optionally qty_counted, snapshot_inventory, unit_cost.

Authentication: Requires Bearer token.

file: path to an already uploaded file (not a direct upload).

Products matched by SKU or barcode. Duplicate products are summed. Unmatched SKUs generate warnings.

Returns parsed line items (not yet saved — save via the update endpoint).

Request

Responses

Successful response