Inventory Batch Events
Essential knowledgeCore knowledge to understand Fluent Commerce
Intended Audience:
Technical User
Author:
Fluent Commerce
Changed on:
29 Aug 2025
Overview
Inventory Batch Events offer insights into the processing status of Inventory Batches, helping to determine whether the corresponding records within a batch were successfully submitted for processing.Key points
- Batch
`CREATE`and`BATCH_COMPLETE`events provide insights into the processing status of Inventory Batches - The events can be used to measure the duration of Inventory Batch processing
- Inventory Batch Events are currently not operational for Inventory Batches going through Batch Pre-Processing
For each Inventory Batch that is submitted to the platform, a
`CREATE` event is generated, indicating that the batch has been received. When all the corresponding records in an Inventory Batch have been processed a `BATCH_COMPLETE` event is generated. The `generatedOn` values in the events can be used to calculate the inventory load duration. The root entity of these events is `JOB`, and can be used to query for a collection of batches and their corresponding events. If multiple inventory batches are submitted for the same job, the overall job duration can be measured by using the `generatedOn` times of the earliest `CREATE` event and the latest `BATCH_COMPLETE` event.The generated events can be retrieved via the Event API providing the Job ID and optionally the Batch ID.`CREATE` Event example:`BATCH_COMPLETE` Event example: