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 Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
rule​LibraryApiName | String | API 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. | Optional | 68.0 |
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
cart | Map | Cart 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. | Required | 68.0 |
runSetting | Execution Details Input | Run settings for the unified execution, including whether to run in simulation mode. | Optional | 68.0 |