The Loyalty Management Unified Execution API evaluates promotions for a cart and processes loyalty transaction journals in a single request. This article covers the complete request structure, supported API version, license requirements, execution settings, rate limits, and response details — including common errors observed in production integrations.
1. Review License and API Version Requirements
The Unified Execution API requires the full Loyalty Management license. Orgs on Loyalty Management Starter do not have access to the promotion evaluation and execution endpoints (/connect/global-promotions-management/promotions, /eligible-promotions, /promotion-execution). If these endpoints return 404 NOT_FOUND, verify that the org has the GlobalPromotionsMgmtBasicAddOn or Loyalty Management Growth Permission Set License provisioned under Company Information > Permission Set Licenses.
The resource supports POST requests and is available starting with API version 68.0. Use API version 68.0 or later.
2. Build the Request Using the Documented Inputs
Review the Unified Executions (POST) resource reference for the complete request structure.
| Input | Required | Purpose |
|---|---|---|
cart | Yes | Contains a cartDetails array with at least one cart detail. |
runSetting | No | Controls whether the request runs in simulation mode or processes the execution. |
ruleLibraryApiName | No | Specifies the API name of an active rule library. If omitted, the API uses the active rule library. |
Cart details contain the loyalty program, member, journal type, activity date, currency, transaction amount, and cart line item fields used for promotion evaluation and loyalty processing.
Important: Do not assume that combining existing promotion and transaction journal request bodies produces a valid Unified Execution request. Build the payload according to the reference only.
3. Test the Request in a Sandbox
Prepare a request using the documented cart structure and valid sandbox data.
Set runSetting.isSimulation to true.
Submit the request.
Review the response status, messages, and simulation results.
The following snippet shows the simulation setting only. A complete request must also include the required cart input.
{ "runSetting": { "isSimulation": true }}
When isSimulation is true, the API returns simulation results without creating records. If omitted, the default value is false and the request processes the execution.
Note on Sandbox Limits: Lower-tier sandboxes (Developer or Partial Copy) have significantly lower general storage and standard platform API allocations than Production or Full sandboxes. Test results from these environments may not be representative of production throughput.
4.Interpret the Response
Unified Execution uses the same output representation as transaction journal execution.
| Property | Meaning |
|---|---|
status | Indicates whether the request succeeded (true) or failed (false). |
message | Provides additional context about the result. |
programName | Identifies the loyalty program. |
processResult | Contains transaction journal processing details and currency-wise member points balances after processing. This collection is empty during simulation. |
simulationResults | Contains simulation details. This collection is empty during actual execution. |
The response includes details of points, badges, games, and vouchers provided by the executed loyalty program process rules. It does not include rewards provided by flows or subprocesses that those rules execute.
5. Troubleshoot Common Errors
Error: "Specify values for these required fields and try again: TransactionJournal.CurrencyIsoCode"
This error occurs even when currencyISOCode is present in the payload. The currency value is not mapping to the Transaction Journal record. To resolve:
currencyIsoCode (camel case with lowercase 'so'). A casing mismatch causes the value to be silently ignored.Error: 404 NOT_FOUND on promotion endpoints
CartDetailGetEligiblePromotion context definition is extended and active.Error: "Accrual Process with process type TransactionJournal isn't supported"
This error occurs when calling the standard program-processes API endpoint (/connect/loyalty/programs/{programName}/program-processes/{processName}) with a TransactionJournal process type. TransactionJournal cannot be called directly through that endpoint. Use one of these alternatives:
/services/data/vXX.X/connect/realtime/loyalty/programs/{programName} — this automatically picks up the process matching the journal type and subtype.005465981

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.