Add or scan a line
POST
/api/v1/inventory/counts/{count_id}/lines
Add a line by variant_id, barcode, or sku. Re-scans of the same variant update the existing line.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Path
-
count_idstring required
Request body
Schema: AddCountLineRequest
-
variant_idstring -
Variant UUID.
-
barcodestring -
skustring -
counted_quantitynumber -
Optional initial count. If omitted, the line is added with expected_quantity only and the user records the count later.
-
reasonstring -
notesstring