Newer Version Available
Get Promotions Based on Transaction Journal
Retrieve active promotions that are eligible for a transaction journal.
The action can process accrual or redemption transactions.
For more information about how the getLoyaltyPromotion action filters eligible promotions, see Get a List of Promotions Applicable for a Transaction in Salesforce Help.
This action is available in API version 53.0 and later for users in orgs where either B2C - Loyalty, B2C - Loyalty Plus, Loyalty Management - Growth, or Loyalty Management - Advanced license is enabled.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/getLoyaltyPromotion
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| JournalId |
|
Outputs
| Output | Details |
|---|---|
| PromotionRecords |
|
Example
Sample Request
Sample Response