Changed on:
2 Oct 2024
This rule is executed to create articles based on the items packed into parcels.
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.
Create parcels from details on the event attribute articles
`MutateAction`
Parameter | Description | Data Type | Required? |
packedItems | The list of packed and rejected fulfilment items | Object | Required |
This rule may result in the following exceptions:
`IllegalArgumentException`
`packedItems`
1{
2 "name": "[[account.id]].order.CreateParcelsForFulfilment",
3 "props": null
4}
Language: json
This rule gets the
`packedItems`
`packedItems.articles`
1{"packedItems": {
2 "articles": [
3 {
4 "packaging_name": "small",
5 "length": "18",
6 "width": "18",
7 "height": "18",
8 "weight": "3",
9 "maxWeight": "4",
10 "items": [
11 {
12 "fulfilmentItemId": 33,
13 "quantity": 2
14 },
15 {
16 "fulfilmentItemId": 34,
17 "quantity": 1
18 }
19 ]
20 }
21 ]
22 }
23}
Language: json
Name: Example of 'packedItems.articles' 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.