CreateParcelsForFulfilment
Changed on:
2 Oct 2024
Overview
This is executed to create articles based on the items packed into parcels.
Plugin Name | Order Reference Module |
---|---|
Namespace | [[account.id]].order |
The is the foundation for order-related implementations. It provides reference workflows for , 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
Create parcels from details on the event attribute articles
Accepts
- Fulfilment
Actions
- This Rule produces a createArticle
`MutateAction`
Event attributes
Parameter | Description | Data Type | Required? |
packedItems | The list of packed and rejected fulfilment items | Object | Required |
Exceptions
This may result in the following exceptions:
- All generated exceptions will be wrapped with RubixException: 400;
- Throw
`IllegalArgumentException`
if an incoming event has no`packedItems`
attribute.
Configuration example
1{
2 "name": "[[account.id]].order.CreateParcelsForFulfilment",
3 "props": null
4}
Detailed Technical Description
This gets the `packedItems`
from the . After that, the creates one or more parcels(articles) based on the information from the '`packedItems.articles`
’ if they are not empty.
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}
Workflow Builder (Modeller) Screenshot

Version History
v1.0.0
Initial release