Unified Executions (POST)

Evaluate promotions for a cart and process loyalty transaction journals in a single request.

Use POST to process unified loyalty execution with cart details and run settings. When isSimulation is true, the API returns simulation results without creating records. The response uses the same output representation as transaction journal execution.

68.0

POST

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
rule​LibraryApiNameStringAPI name of an active rule library that’s used to evaluate promotions and execute loyalty processing. If omitted, the API uses the active rule library.Optional68.0

JSON Example

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
cartMapCart payload that contains a cartDetails array. Each cart detail includes loyalty program, member, journal type, activity date, currency, transaction amount, and cart line item fields used to evaluate promotions and execute loyalty processing. The cart must include at least one cart detail.Required68.0
runSettingExecution Details InputRun settings for the unified execution, including whether to run in simulation mode.Optional68.0

Loyalty Engine Realtime