Applied Cart Promotion Details

The details of the cart-level promotions applied to the cart.

JSON example 

This example shows a sample response.

1"appliedCartPromotionDetails": [
2          {
3            "cartAmountAfterDiscount": 99.5,
4            "cartAmountBeforeDiscount": 99.5,
5            "cartLevelDiscountAmount": 0,
6            "displayName": "Get 10% off on Burger + Voucher",
7            "isAutomatic": true,
8            "nonPricingRewards": {
9              "voucherRewards": [
10                {
11                  "voucherDefinitionId": "2Xaxx00000000XtCAI",
12                  "voucherDefinitionName": "Voucher1"
13                }
14              ]
15            },
16            "promotionId": "0c8xx00000004y5AAA"
17          },
18          {
19            "cartAmountAfterDiscount": 89.5,
20            "cartAmountBeforeDiscount": 99.5,
21            "cartLevelDiscountAmount": 10,
22            "displayName": "10% off on Cart",
23            "isAutomatic": true,
24            "nonPricingRewards": {},
25            "promotionId": "0c8xx00000005R7AAI"
26          },
27          {
28            "cartAmountAfterDiscount": 99.5,
29            "cartAmountBeforeDiscount": 99.5,
30            "cartLevelDiscountAmount": 0,
31            "displayName": "Cart Voucher",
32            "isAutomatic": true,
33            "nonPricingRewards": {
34              "voucherRewards": [
35                {
36                  "voucherDefinitionId": "2Xaxx00000000XtCAI",
37                  "voucherDefinitionName": "Voucher1"
38                }
39              ]
40            },
41            "promotionId": "0c8xx000000060bAAA"
42          },
43          {
44            "cartAmountAfterDiscount": 79.5,
45            "cartAmountBeforeDiscount": 99.5,
46            "cartLevelDiscountAmount": 20,
47            "isAutomatic": true,
48            "nonPricingRewards": {},
49            "promotionId": "0c8xx00000006wfAAA"
50          },
51          {
52            "cartAmountAfterDiscount": 99.5,
53            "cartAmountBeforeDiscount": 99.5,
54            "cartLevelDiscountAmount": 0,
55            "displayName": "LOY promotion",
56            "isAutomatic": true,
57            "nonPricingRewards": {
58              "badgeRewards": [
59                {
60                  "loyaltyProgramBadgeId": "0w8xx0000000001AAA",
61                  "badgeValidityEndDate": "2025-08-31T00:00:00.000Z",
62                  "loyaltyProgramBadgeName": "badge1"
63                }
64              ],
65              "fixedPointsRewards": [
66                {
67                  "loyaltyProgramCurrencyName": "NQP",
68                  "loyaltyProgramCurrencyId": "0lcxx00000001FRAAY",
69                  "points": 100
70                }
71              ]
72            },
73            "promotionId": "0c8xx0000000EpNAAU"
74          },
75          {
76            "cartAmountAfterDiscount": 99.5,
77            "cartAmountBeforeDiscount": 99.5,
78            "cartLevelDiscountAmount": 0,
79            "isAutomatic": true,
80            "nonPricingRewards": {
81              "multiplierPointsRewards": [
82                {
83                  "loyaltyProgramCurrencyName": "NQP",
84                  "pointsExpirationDate": "2025-09-07T00:00:00.000Z",
85                  "transactionJournalField": "TransactionJournal.TransactionAmount",
86                  "loyaltyProgramCurrencyId": "0lcxx00000001FRAAY",
87                  "multiplierValue": 44
88                }
89              ],
90              "gameRewards": [
91                {
92                  "gameDefinitionId": "3GDxx0000004C92GAE",
93                  "gameType": "Scratchcard",
94                  "gameDefinitionName": "GD1"
95                }
96              ]
97            },
98            "promotionId": "0c8xx0000000Fv7AAE"
99          }
100        ]
Property NameTypeDescriptionFilter Group and VersionAvailable Version
cartAmount​AfterDiscountDoubleThe updated cart amount after the current promotion is applied.Big, 65.065.0
cartAmount​BeforeDiscountDoubleCart amount before the current promotion is applied.Big, 65.065.0
cartLevel​DiscountAmountDoubleTotal amount of discounts from promotions.Big, 65.065.0
couponCodeStringCoupon code of the applied promotion.Big, 65.065.0
currencyIsoCodeStringThree-letter ISO 4217 code of the monetary currency assoaicted with the applied promotion.Big, 65.065.0
displayNameStringDisplay name of the applied promotion.Big, 65.065.0
isAutomaticBooleanIndicates whether the promotion is automatically applied for eligible carts (true) or not (false).Big, 65.065.0
nonPricing​RewardsMap<String, Object> Big, 65.065.0
promotionCodeStringCode of the applied promotion.Big, 65.065.0
promotionIdStringThe ID of the applied promotion.Big, 65.065.0

The non-pricing rewards issued to customers as a part of the applied promotions. Possible rewards are:

  • badgeRewards: List of rewards for members in the form of badges.
  • fixedPointsRewards: List of rewards for members in the form of fixed number of loyalty points.
  • gameRewards: List of rewards in the form of games.
  • multiplierPointsRewards: List of rewards for members in the form of loyalty points that are calculated based on a multiplier and a transaction journal field.
  • voucherRewards: List of rewards in the form of vouchers.