VerifyingFulfilmentItems
Changed on:
29 Nov 2023
Overview
The rule verifies the quantity of items fulfilled in the incoming fulfilment entity and sends the corresponding event when it matches the quantity from the input parameter.
Plugin Name | Order Reference Module |
---|---|
Namespace | [[account.id]].order |
The Order Reference Module is the foundation for order-related implementations. It provides reference workflows for click & collect, home delivery and mixed baskets and those needed to build your own. Extensible by design, use this Module as a base to build a solution to your customers' needs.
UI Description
Verifies the quantity (not a number, quantity here refers to ALL, PARTIAL or NONE) of items fulfilled in the incoming fulfilment entity and sends an event with the corresponding event name when it matches the quantity from the input parameter.
Accepts
- FULFILMENT
Actions
- This rule creates and sends an event if the quantity is matched.
Rule parameters
Parameter | Description |
eventName | The name of event to be triggered. |
quantity | Quantity fulfilled, to be matched with fulfilment item's fulfilled quantities: NONE, ALL or PARTIAL. |
Event attributes
This rule does not directly identify any event attributes.
Exceptions
This rule will throw an RubixException: 400
- if fulfilment cannot be found with
`Id`
- if fulfilment items cannot be found for
`fulfilmentId`
- if quantity type is not supported
Configuration example
1{
2 "name": "<ACCOUNTID>.order.VerifyingFulfilmentItems",
3 "props": {
4 "eventName":"AllFulFilled",
5 "quantity":"ALL"
6 }
7}
Language: json
Version History
v1.0.0
refers to plugin