Newer Version Available
Promotion Cart Input
- JSON example
-
1"cart": { 2 "cartItems": [ 3 { 4 "id": "id1", 5 "type": "Product", 6 "sku": "Tee Size L", 7 "quantity": 2, 8 "listPrice": 100, 9 "salesPrice": 100 10 }, 11 { 12 "id": "id2", 13 "type": "Product", 14 "sku": "Shorts Size L", 15 "quantity": 2, 16 "listPrice": 25, 17 "salesPrice": 25 18 }, 19 { 20 "id": "id3", 21 "type": "Product", 22 "sku": "Shoe Size 9", 23 "quantity": 2, 24 "listPrice": 25, 25 "salesPrice": 25 26 } 27 ] 28 } - Properties
-
Name Type Description Required or Optional Available Version cartItems PromotionCartItemInputRepresentation[] A collection of items in the cart. Required 56.0 currencyIsoCode String Three-letter ISO 4217 currency code associated with the cart. Required for multi-currency orgs 56.0 id String ID of the cart. Optional 56.0