200Successful Response
Schema: SuccessEnvelope_VariantResponse_
successbooleanmessagestringcodestringdataVariantResponse
/api/v1/inventory/products/variants/{id}/location-quantitiesSet absolute on-hand quantities for this variant at each location without creating inventory adjustment journal entries.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
idstring · uuidrequiredSchema: SetVariantLocationQuantitiesRequest
location_quantitiesarray · VariantLocationQuantityInputrequiredVariantLocationQuantityInputList of per-location absolute quantities.
location_idstringrequiredLocation UUID.
on_handnumberrequiredAbsolute on-hand quantity to set at this location.
effective_atstring · date-timeTimestamp for inventory records (ISO 8601). Defaults to now.
Schema: SuccessEnvelope_VariantResponse_
successbooleanmessagestringcodestringdataVariantResponse