Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Promotion Recommendations
The count and list of promotions recommended for the member or customer.
- JSON Example
-
1{ 2 "recommendationCount": 0, 3 "personalizationId": "string", 4 "recommendationList": [ 5 { 6 "rank": 0, 7 "promotionDetails": { 8 "id": "string", 9 "promotionCode": "string", 10 "name": "string", 11 "description": "string", 12 "displayName": "string", 13 "productDetails": { 14 "personalizationContentId": "string", 15 "name": "string", 16 "id": "string", 17 "sku": "string", 18 "productImageUrl": "string" 19 }, 20 "priority": 0, 21 "currencyIsoCode": "string", 22 "coupon": { 23 "couponAvailabilityMessage": "string", 24 "couponDetails": { 25 "couponCode": "string", 26 "startDateTime": "2025-03-06", 27 "endDateTime": "2025-03-06", 28 "status": "string" 29 } 30 }, 31 "isAutomatic": true, 32 "startDateTime": "2025-03-06", 33 "endDateTime": "2025-03-06", 34 "promotionPageUrl": "string", 35 "imageUrl": "string", 36 "isEnrollmentRequired": true, 37 "isEnrolled": true, 38 "termsAndCondition": "string" 39 } 40 } 41 ], 42 "loyaltyProgramName": "string", 43 "membershipNumber": "string", 44 "loyaltyProgramMemberId": "string" 45}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| loyaltyProgramMemberId | String | Enter the Loyalty Program member ID. | Big, 64.0 | 64.0 |
| loyaltyProgramName | String | Enter the name of the loyalty program. | Big, 64.0 | 64.0 |
| membershipNumber | String | Enter the membership number. | Big, 64.0 | 64.0 |
| personalizationId | String | Enter the response ID of the product recommendations. | Big, 64.0 | 64.0 |
| recommendationCount | Integer | Enter the number of promotion recommendations provided. | Big, 64.0 | 64.0 |
| recommendationList | Recommendation Details | Enter the list of recommended promotions. | Big, 64.0 | 64.0 |