Apply import

POST/api/v1/inventory/import/apply

Execute the confirmed import: create locations, products, variants, and set inventory levels. All changes happen in a single transaction.

Operation ID: apply_import_api_v1_inventory_import_apply_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

file_idstringrequired
locationsarray · ApplyLocationDecisionApplyLocationDecision
5 fields
namestringrequired
actionstring

One of: create, match, skip

existing_location_idstring
location_typestring
codestring
productsarray · ApplyProductDecisionApplyProductDecision
5 fields
namestringrequired
categorystring
actionstring

One of: create, match, skip

existing_product_idstring
variantsarray · ApplyVariantDecision
levelsarray · ApplyLevelDecisionApplyLevelDecision
8 fields
variant_namestringrequired
variant_idstring
location_namestring
location_idstring
on_handnumber
reorder_pointnumber
reorder_quantitynumber
actionstring

One of: set, skip

Responses

201Successful Response

successboolean
messagestring
codestring
dataApplyResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error - Invalid data format