Changed on:
2 Oct 2024
This rule is executed when no items are packed into parcels and all items are rejected.
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.
Send event {eventName} if there are no parcels
`SendEventAction`
Name | Type | Description |
eventName | String | Name of the event to send if the check passes. |
Parameter | Description | Data Type | Required? |
packedItems | The list of packed and rejected fulfilment items | Object | Required |
This rule may result in following exception:
`IllegalArgumentException`
`packedItems`
1{
2 "name": "[[account.id]].order.SendEventOnVerifyingNoParcels",
3 "props": {
4 "eventName": "RejectFulfilment"
5 }
6}
Language: json
This Rule produces a
`SendEventAction`
`packedItems.articles`
`packedItems.rejections`
1{"packedItems": {
2 "rejections": [
3 {
4 "fulfilmentItemId": "139",
5 "rejectedQty": 2,
6 "rejectReason": {
7 "label": "fc.sf.rejectionReason.damagedItem",
8 "value": "damagedItem"
9 }
10 }
11 ]
12 }
13 }
Language: plain_text
Name: Example of packedItems attribute
Description:
[Warning: empty required content area]Initial release
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.