Newer Version Available

This content describes an older version of this product. View Latest

Add Order To Cart Input

Input for adding an order to a cart.
Root XML tag
addOrderToCartInput
JSON example
Here’s a sample request for a registerd user:
1{
2  "cartStateOrId": "active",
3  "orderSummaryIdOrRefNumber": "Oder_Summary_ID"
4}
Here’s a sample request for a guest user:
1{
2  "cartStateOrId": "active",
3  "orderSummaryIdOrRefNumber": "GJA4C-MUVBN-6ZT4P-V6CSB",
4  "verification": {
5    "email": "Mallory.Strosin5@1667496847560.vincent.info",
6    "phoneNumber": "+16102347740"
7  }
8}
Properties
Name Type Description Required or Optional Available Version
cartStateOrId String Cart state (active or current) or the ID of the cart to which the products from an order are to be added. Required 59.0
orderSummaryId​OrRefNumber String Either the order summary ID or reference number value.

For guest shoppers, use the order reference number.

Required 59.0
verification Order Summary Verification Input Verification attributes for guest shoppers. Optional

This is required for guest shoppers.

59.0