Get Member Promotions
View all eligible promotions of a loyalty member.
Example URL
1https://yourInstance.salesforce.com/services/data/v67.0/connect/loyalty/programs/DemoProgram/program-processes/View PromotionsThe request and response parameters vary depending on the input and output parameters configured for the GetMemberPromotions process type in a Salesforce org.
Sample JSON Requests
Here's an example with a member ID:
1{
2 "processParameters":[
3 {
4 "MemberId":"0lMRM0000004G5h2AE"
5 }
6 ]
7}Here's an example with a membership number:
1{
2 "processParameters":[
3 {
4 "MembershipNumber":"M1234"
5 }
6 ]
7}Sample JSON Response
1{
2 "message":null,
3 "outputParameters":{
4 "outputParameters":{
5 "results":[
6 {
7 "promotionEnrollmentRqr":false,
8 "loyaltyPromotionType":"STANDARD",
9 "memberEligibilityCategory":"Eligible",
10 "promotionName":"doc_promo_1",
11 "promotionId":"0c8RM0000004DnXYAU",
12 "startDate":"2022-09-01"
13 }
14 ]
15 }
16 },
17 "simulationDetails":{
18
19 },
20 "status":true
21}