Get Loyalty Promotions Based on Member’s Data Cloud
Retrieve the promotions that are eligible for a member based on their market segment.
For more information about how the getLoyaltyPromotionBasedOnSalesforceCDP action filters eligible promotions, see Get a List of Promotions Applicable for a Member 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 and Data Cloud are enabled.
URI: /services/data/v68.0/actions/standard/getLoyaltyPromotionBasedOnSalesforceCDP
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
MemberId | ID | Required. ID of the loyalty program member for whom promotions must be filtered. Make sure that the member is part of a Data Cloud market segment. |
PromotionRecords | sObject | Promotion records to filter the promotions that are applicable to the member’s market segment. |
| Output | Type | Description |
|---|---|---|
PromotionRecords | sObject | Promotion records that the member is eligible for based on the member’s market segment. |
POST
Here’s a sample request for the Get Promotions Based on Member’s Data Cloud Segment action.
Here’s a sample response for the Get Promotions Based on Member’s Data Cloud Segment action.