201 Successful Response
Schema: UnitCostBulkApplyResponse
-
updated_countinteger required -
skipped_countinteger required -
error_countinteger required -
errorsarray · string
/api/v1/inventory/products/unit-costs/apply
Apply confirmed unit-cost updates from a validated CSV upload.
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Schema: UnitCostBulkApplyRequest
updates
array · UnitCostBulkUpdateRowInput
requiredUnitCostBulkUpdateRowInput Rows with new_unit_cost_cents set and validated via preview.
row_number
integer
required 1-based row number from the spreadsheet.
sku
string
required Variant SKU.
variant_id
string
Optional variant UUID; when set, used instead of SKU matching.
new_unit_cost_cents
integer
New unit cost in cents. Omit or null to skip the row.
Schema: UnitCostBulkApplyResponse
updated_count
integer
required skipped_count
integer
required error_count
integer
required errors
array · string