Newer Version Available
Cart Input
The details of a cart and its line items that's used to evaluate and execute
promotions.
- JSON example
-
1{ 2 "cart": { 3 "cartDetails": [ 4 { 5 "cartHeaderId__std": "01ddf0000003kfMAAW", 6 "currencyISOCode": "USD", 7 "cartPromotionAdditionalInformation__std": [ 8 { 9 "cartCouponCode__std": "CART5" 10 } 11 ], 12 "cartLineDetails": [ 13 { 14 "cartLineProductId": "01txx0000006kfMAAQ", 15 "cartLineItemQuantity": 2, 16 "cartLineItemAmount": 100, 17 "cartLineItemId": "abcd1", 18 "cartLineNetUnitPrice__std": 50, 19 "cartLinePromotionAdditionalInformation__std": [ 20 { 21 "cartLineCouponCode__std": "PIZZA5" 22 } 23 ] 24 }, 25 { 26 "cartLineProductId": "01txx0000006kfNAAQ", 27 "cartLineItemQuantity": 2, 28 "cartLineItemAmount": 10, 29 "cartLineItemId": "abcd2", 30 "cartLineNetUnitPrice__std": 5 31 } 32 ] 33 } 34 ] 35 } 36} - Properties
-
Name Type Description Required or Optional Available Version cart Map<String, Object> The details of a cart and its line items to evaluate and execute promotions. Required 65.0