Fluent Commerce Logo
Docs
Sign In

ForwardEventWithPickupLocationCoordinatesByType

Rule

Changed on:

18 Dec 2023

Overview

The forwards the containing the longitude & latitude of the pickup if the fulfilment choice has definite delivery type.

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

Forwards the event with name “eventName” containing the longitude & latitude of the pickup location if fulfilment choice has delivery type from “type”.

Accepts

  • FULFILMENT_CHOICE

Actions

  • Forwards the event containing the longitude & latitude of the pickup location if fulfilment choice has definite delivery type.

Rule parameters

Parameter

Description

eventName

The name of the to be triggered

type

The delivery type to check

Event attributes

Parameter

Description

Data Type

Required?

fulfilmentChoiceRef

Reference to the fulfilment choice

String

Required

Exceptions

This does not directly throw any exception.

Configuration example

1{
2  "name": "<ACCOUNTID>.order.ForwardEventWithPickupLocationCoordinatesByType",
3          "props": {
4            "eventName": "GetLocationsForNetwork",
5            "type":"HD"
6          }
7}

Version History

2023-08-04

v1.0.0

refers to