Submit Inventory Batches With Attributes
Authors:
Girish Padmanabha, Kirill Gaiduk
Changed on:
25 May 2026
Key Points
- Create inventory batches using the Job API
- Sample inventory batch request
- Inventory batch processing details
Steps
API authentication
- Follow the Authentication API for how to authenticate against a Retailer
- The returned token will be used to authenticate all the following API calls
Set up a Job
Create Job Example
- The
`id`is the unique identifier of the created job - Save this
`id`to use in subsequent batch requests - Use this
`id`to group related batches
Send an Inventory Batch
Create Inventory Batch Example
Inventory Batch Model
Request Example
- The first two records show
`LAST_ON_HAND`inventory segmented by origin, batch, and expiry date - The third record shows future inventory linked to a purchase order
- The fourth record shows a related
`IN_TRANSIT`future inventory record linked to the purchase order through`parentRef`
- The returned
`id`is used to check the inventory batch status in subsequent calls