Fluent Commerce Logo
Docs
Sign In

SendEventForAllFulfilmentChoices

Rule

Changed on:

29 Nov 2023

Overview

The rule sends event to all fulfilment choices.

Plugin NameOrder 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

Send event “eventName” to all fulfilment choices.

Accepts

  • ORDER

Actions

  • Sends event to all fulfilment choices.

Rule parameters

Parameter

Description

eventName

The name of event to be triggered

Event attributes

Parameter

Description

Data Type

Required?

fulfilmentChoiceRef

Reference to the fulfilment choice

String

Required

Exceptions

This rule may result in following exceptions:

RubixException with error code 500 and warning message "Entity type: {event.entityType} is not supported".

Configuration example

1{
2  "name": "<ACCOUNTID>.order.SendEventForAllFulfilmentChoices",
3    "props": {
4        "eventName": "CancelFulfilmentChoice"
5    }
6}

Language: json

Version History

2023-08-03

v1.0.0

refers to plugin