Fluent Commerce Logo
Docs

UpdateOrderCoordinates

Rule

Changed on:

7 Aug 2025

Overview

The rule updates the longitude and latitude of the order based on the incoming event information received from the ResolveOrderCoordinates rule.This rule works only if the order comes without coordinates. The ResolveOrderCoordinates rule resolves the coordinates and sends the event with latitude and longitude. After that, the UpdateOrderCoordinates rule gets coordinates from the event and updates the delivery address with coordinates.
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

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 rule does not identify any input parameters.

Event attributes

ParameterDescriptionData TypeRequired?
longitudeNew longitude coming from the eventDoubleRequired
latitudeNew latitude coming from the eventDoubleRequired

Exceptions

This rule 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 plugin