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 Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
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
| Parameter | Description | Data Type | Required? |
| longitude | New longitude coming from the event | Double | Required |
| latitude | New latitude coming from the event | Double | Required |
Exceptions
This rule does not explicitly identify any exceptions.
Configuration example
1{
2 "name": "<ACCOUNTID>.order.UpdateOrderCoordinates",
3 "props": {}
4}