Fluent Commerce Logo
Docs
Sign In

Latest Rule Library Changes

Rules are used within a to define when; or if, something should happen. They help translate business logic into your OMS setup.

LoadInventoryPositionData

Rule

Send an including the `inventoryPositionExists` flag indicating whether the corresponding Position exists or not.

This is a simplified version of the `LoadInventoryPosition` , excluding the logic for:

  • Retrieving Inventory Quantity data of type `LAST_ON_HAND` in status `ACTIVE` or `CREATED`
  • Setting and forwarding the `inventoryQuantityExists` flag (true or false)

UpdateOrderCoordinates

Rule

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.