Newer Version Available
Applied Cart Line Promotion Details
Specifies the list of cart line reward details.
- JSON example
- This example shows a sample
response.
1 2 "appliedCartLinePromotionDetails": [ 3 { 4 "cartLineItemAmountAfterDiscount": 95, 5 "cartLineItemAmountBeforeDiscount": 100, 6 "cartLineItemDiscountAmount": 5, 7 "couponCode": "PIZZA5", 8 "currencyIsoCode": "USD", 9 "displayName": "5 % off on Pizza", 10 "isAutomatic": false, 11 "promotionId": "0c8xx00000005NtAAI" 12 } 13 ], 14 "cartLineItemAmountAfterDiscount": 66.36, 15 "cartLineItemAmountBeforeDiscount": 100, 16 "cartLineItemId": "abcd1", 17 "cartLineItemQuantity": 2, 18 "cartLineProduct": "Pizza", 19 "totalCartLineItemDiscountAmount": 33.64, 20 "totalCartLinePromotionsDiscountAmount": 5, 21 "totalCartPromotionsDistributedDiscountAmount": 28.64 22 }, 23 { 24 "appliedCartLinePromotionDetails": [ 25 { 26 "cartLineItemAmountAfterDiscount": 9, 27 "cartLineItemAmountBeforeDiscount": 10, 28 "cartLineItemDiscountAmount": 1, 29 "currencyIsoCode": "USD", 30 "displayName": "Get 10% off on Burger + Voucher", 31 "isAutomatic": true, 32 "promotionId": "0c8xx00000004y5AAA" 33 }, 34 { 35 "cartLineItemAmountAfterDiscount": 4.5, 36 "cartLineItemAmountBeforeDiscount": 9, 37 "cartLineItemDiscountAmount": 4.5, 38 "currencyIsoCode": "USD", 39 "displayName": "Buy 1 Pizza, Get 1 Burger Free", 40 "isAutomatic": true, 41 "promotionId": "0c8xx00000006TdAAI" 42 } 43 ]
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| cartLineItemAmountAfterDiscount | Double | The updated cart amount after the current line or cross line promotion discount. | Big, 65.0 | 65.0 |
| cartLineItemAmountBeforeDiscount | Double | The cart line item amount before the current line or cross line promotion is applied. | Big, 65.0 | 65.0 |
| cartLineItemDiscountAmount | Double | Amount of line or cross line promotion discounts applied to the line items. | Big, 65.0 | 65.0 |
| couponCode | String | Coupon code of the applied line or cross line promotion. | Big, 65.0 | 65.0 |
| currencyIsoCode | String | Three-letter ISO 4217 code of the monetary currency associated with the applied line or cross line promotion. | Big, 65.0 | 65.0 |
| displayName | String | Display name of the applied line or cross line promotion. | Big, 65.0 | 65.0 |
| isAutomatic | Boolean | Indicates whether the promotion is automatically applied for eligible carts (true) or not (false). | Big, 65.0 | 65.0 |
| promotionCode | String | Code of the applied line or cross line promotion. | Big, 65.0 | 65.0 |
| promotionId | String | The ID of the applied line or cross line promotion. | Big, 65.0 | 65.0 |