CreateDeltaInventoryQuantities
Changed on:
12 Aug 2025
Overview
Create an Inventory Quantity(ies) for the specified Inventory Position.
| Plugin Name | Inventory Reference Module | 
|---|---|
| Namespace | [[account.id]].globalinventory | 
The Inventory Reference Module is the foundation for inventory related implementations. It provides reference Workflows for inventory ingestion and processing. Extensible by design, use this Module as a base to build a solution to the needs of your customers.
The Inventory Module includes the following areas:
- Product Catalogue workflow
- Inventory Catalogue workflow
- Control Group workflow
- Virtual Catalogue workflow
UI Description
Create Inventory Quantities using Event attributes.
Accepts
- INVENTORY_POSITION
Actions
- This Rule produces a MutationAction that will create an Inventory Quantity(ies)
Rule parameters
This Rule has no Input parameters.
Event attributes
| Name | Type | Description | Required | 
| 
 | [ | A list of Inventory Quantities to be created for the specified Inventory Position. See the Sub-attributes below. | Yes | 
InventoryDelta Object Sub-attributes
| Name | Type | Description | Required? | 
| 
 | 
 | The Id of the Delta Inventory Quantity | No | 
| 
 | 
 | The Type of the Inventory Quantity (Normally set to  | No | 
| 
 | 
 | The Reference of the Variant Product associated to the Inventory Position | No | 
| 
 | 
 | The Reference of the Location associated to the Inventory Position | No | 
| 
 | 
 | The quantity | No | 
Exceptions
This Rule does not throw any validation Exceptions.
Configuration example
1{
2    "name": "[[account.id]].globalinventory.CreateDeltaInventoryQuantities",
3    "props": null
4}Detailed Technical Description
This Rule execution includes the following steps:
- Parse / deserialize the `deltas`Event attribute into a list of`InventoryDelta`Objects (outlined above).
- Produce a `MutationAction`with the`createInventoryQuantity`Mutations for each`InventoryDelta`Object.