CreateFulfilment
Changed on:
25 Oct 2023
Overview
The rule creates fulfilment based on the incoming proposed fulfilment, excluding fulfilments in specified statuses. If the
`fulfilmentType`
UI Description
Creates fulfilment based on the incoming proposed fulfilment, excluding fulfilments in statuses {excludedFulfilmentStatuses}. If the "fulfilmentType" parameter is not empty then a fulfilment with this type will be created.
Accepts
- ORDER
Actions
- This rule produces an action that triggers a GraphQL createFulfilment mutation
Rule parameters
Parameter | Description |
excludedFulfilmentStatuses | The list of excluded fulfilment statuses. |
fulfilmentType | The type of the fulfilment. |
Event attributes
Parameter | Description | Data Type | Required? |
proposedFulfilment | The object of a proposed fulfilment. | ProposedFulfilment | Required |
Exceptions
This rule does not explicitly identify any exceptions.
Configuration example
1{
2 "name":"<ACCOUNTID>.order.CreateFulfilment",
3 "props": {
4 "fulfilmentType":"HD_PFS",
5 "excludedFulfilmentStatuses":"CREATED"
6 }
7}
Language: json
Detailed Technical Description
Extension
If you are using Click and Collect, Home Delivery or Mixed Baskets reference workflows, following fulfilment types can be used without additional rule modification.
`CC_PFS`
`CC_PFDC`
`HD_PFS`
`HD_PFDC`
If you create your own fulfilment type and would like it to be supported in our reference workflow, you need to set the custom type in the
`fulfilmentType`
Useful information:
Version History
v1.0.3
First release