Fluent Commerce Logo
Docs

Submit Inventory Batches With Attributes

How-to Guide

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

Step arrow right iconAPI authentication

Authenticate against the Retailer you are sending the Inventory Batch to: 
  • Follow the Authentication API for how to authenticate against a Retailer
  • The returned token will be used to authenticate all the following API calls

Step arrow right iconSet up a Job

Create a new job to execute your batches using the Job API.
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

Step arrow right iconSend an Inventory Batch

Create an inventory batch to be processed under the previously created job using the Job API.
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

Step arrow right iconCheck Job Status

Use the Job API to check the status of an existing job.
Get Job Status Example

Step arrow right iconCheck Inventory Batch Status

View the status of a specific batch. This provides more detailed information than the job status.
Get Inventory Batch Status Example
The request requires the Job ID and Batch ID returned by previous API calls.