Newer Version Available

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

Cart Input

A cart.
Root XML tag
<cart>
JSON example
1{
2   "name":"My Cart",
3   "type":"Cart"
4}
Properties
Name Type Description Required or Optional Available Version
currencyIsoCode String Currency ISO code of the cart. Optional 57.0
effective​AccountId String ID of the buyer account or guest buyer profile for which the request is made. If unspecified, the default value is determined from context. Optional 49.0
isSecondary Boolean Specifies whether the cart is secondary (true) or not (false). If unspecified, defaults to false. Optional 53.0
name String Name of the cart. The name can have up to 250 Unicode characters. If unspecified, defaults to the generated name. Optional 49.0
orderOwnerId String ID of the owner of the order. Optional 58.0
type String Type of cart. Values are:
  • Cart—Cart created by a customer.
  • ReadOnly—Clone of a Template cart that the customer can check out with.
  • Template—Cart created by an internal user.
If unspecified, defaults to Cart.
Optional 49.0
typeAsString String Type of the cart provided as a string. Optional 59.0