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.

This action is available in orgs where either B2C - Loyalty, B2C - Loyalty Plus, Loyalty Management - Growth, or Loyalty Management - Advanced license is enabled.

URI: /services/data/v68.0/actions/standard/getLoyaltyPromotion

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer token

InputTypeDescription
JournalIdIDRequired. ID of an Accrual or Redemption type Transaction Journal record.
OutputTypeDescription
PromotionRecordssObjectPromotion records that are eligible for the transaction journal.

POST

Here’s a sample request for the Get Promotions Based on Transaction Journal action.

Here’s a sample response for the Get Promotions Based on Transaction Journal action.