Overview
Inventory import sets on-hand and reserved quantities for SKU/location pairs. The endpoint also creates missing product and location records when needed.Quick Start
- Build a
levels[]payload with one row per SKU/location. - POST to
/api/import/inventory. - Poll
/api/import/status/[jobId]for processed and failed counts.
Field Reference
Validation Rules
levels[]must be present and non-empty.- Each row requires
skuIdandlocationId. qtyAvailableis computed asquantityOnHand - quantityReserved.