Changed on:
2 Nov 2023
Send event {inventoryConfirmationEvent} if inventory is confirmed, or send {inventoryReserveEvent} if inventory is reserved, or {inventoryCancelEvent} if inventory is cancelled, to inventory position and include inventory quantities of type {inventoryQuantityTypes} in event attribute.
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:
Send event {inventoryConfirmationEvent} if inventory is confirmed, or send {inventoryReserveEvent} if inventory is reserved, or {inventoryCancelEvent} if inventory is cancelled, to inventory position and include inventory quantities of type {inventoryQuantityTypes} in event attribute.
Parameter | Description |
inventoryConfirmationEvent | The name of event to be triggered if inventory is confirmed |
inventoryCancelEvent | The name of event to be triggered if inventory is cancelled |
inventoryReserveEvent | The name of event to be triggered if inventory is reserved |
inventoryQuantityTypes | List of inventory quantity types |
Parameter | Description | Data Type | Required? |
items | The fulfilment information. It includes
|
Attribute Name | Description |
ref | Inventory position ref |
type | Inventory position type |
productRef | Product ref |
locationRef | Location ref |
inventoryQuantities | RESERVED, SALE or CORRECTION inventory quantities information |
This rule throws a PropertyNotFoundException when:
`inventoryConfirmationEvent`
`inventoryCancelEvent`
`inventoryReserveEvent`
`inventoryQuantityTypes`
This rule throws a general RubixException with code 500 when the "items" event attribute is empty.
1{
2 "name": "FLUENTRETAIL.globalinventory.SendEventOnFulfilmentInventoryUpdate",
3 "props": {
4 "inventoryConfirmationEvent": "inventoryConfirmationEvent",
5 "inventoryCancelEvent": "inventoryCancelEvent",
6 "inventoryReserveEvent": "inventoryReserveEvent",
7 "inventoryQuantityTypes": ["RESERVED", "SALE"]
8 }
9}
Language: json
Retrieve inventory position by inventory catalogue
`ref`
`ref`
`ref`
`{inventoryPositionRef}:RESERVED:{fulfilmentId}`
`item.reserveQty`
`item.reserveQty`
`inventoryQuantityTypes`
`{inventoryReserveEvent}`
`item.cancelQty`
`inventoryQuantityTypes`
`{inventoryCancelEvent}`
`item.saleQty`
`inventoryQuantityTypes`
`{inventoryConfirmationEvent}`
`{inventoryPositionRef}:SALE:{fulfilmentId}`
`item.saleQty`
`item.correctionQty`
`inventoryQuantityTypes`
`{inventoryConfirmationEvent}`
`{inventoryPositionRef}:CORRECTION:{fulfilmentId}`
`item.correctionQty`
refers to the plugin
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.