Fluent Commerce Logo
Docs
Sign In

UpdateOrderCoordinates

Rule

Changed on:

27 Nov 2023

Overview

The updates the longitude and latitude of the based on the incoming information received from the ResolveOrderCoordinates rule.

This works only if the comes without coordinates. The ResolveOrderCoordinates  resolves the coordinates and sends the with latitude and longitude. After that, the UpdateOrderCoordinates  gets coordinates from the and updates the delivery address with coordinates.

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

Updates the longitude and latitude of the order based on the incoming event information.

Accepts

  • ORDER

Actions

  • This rule performs an update mutation on customer address.

Rule parameters

This does not identify any input parameters.

Event attributes

Parameter

Description

Data Type

Required?

longitude

New longitude coming from the

Double

Required

latitude

New latitude coming from the

Double

Required


Exceptions

This does not explicitly identify any exceptions.

Configuration example

1{
2  "name": "<ACCOUNTID>.order.UpdateOrderCoordinates",
3  "props": {}
4}

Version History

2023-08-03

v1.0.0

refers to