CreateDeltaInventoryQuantities
Changed on:
6 Mar 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}
Language: json
Detailed Technical Description
This Rule execution includes the following steps:
- Parse / deserialize the Event attribute into a list of
`deltas`
Objects (outlined above).`InventoryDelta`
- Produce a with the
`MutationAction`
Mutations for each`createInventoryQuantity`
Object.`InventoryDelta`
Version History
v23.8.3
Refers to the Product Release Version.