{"_id":"5bedbcf19b49e8004462d119","category":{"_id":"5bedbcf09b49e8004462d0d8","version":"5bedbcf19b49e8004462d199","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":8,"slug":"resources","title":"Resources"},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"_id":"5bedbcf19b49e8004462d199","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5bcf3922e8455d049c357ed7","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z","categories":["5bedbcf09b49e8004462d0d0","5bedbcf09b49e8004462d0d1","5bedbcf09b49e8004462d0d2","5bedbcf09b49e8004462d0d3","5bedbcf09b49e8004462d0d4","5bedbcf09b49e8004462d0d5","5bedbcf09b49e8004462d0d6","5bedbcf09b49e8004462d0d7","5bedbcf09b49e8004462d0d8","5bedbcf09b49e8004462d0d9","5bedbcf09b49e8004462d0da"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.28 Release","version_clean":"8976.0.0-Extended","version":"8976-Extended"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-24T13:28:23.995Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"###Request\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Property Name\",\n \"h-1\": \"Type\",\n \"h-2\": \"Required\",\n \"0-0\": \"`cart-item`\",\n \"0-1\": \"container\",\n \"h-3\": \"Description\",\n \"0-3\": \"Container of [cart-item](doc:cart-item) properties.\",\n \"1-0\": \"`coupons`\",\n \"1-1\": \"container\",\n \"1-3\": \"Container of [coupons](doc:coupons) properties.\",\n \"h-4\": \"Description\",\n \"0-2\": \"**Required**\",\n \"1-2\": \"**Required**\",\n \"2-0\": \"`cdod`\",\n \"2-1\": \"*boolean*\",\n \"2-2\": \"Optional\",\n \"2-3\": \"If the catalog configuration allows for CD on demand, this property indicates whether to include CD on demand in the order or not. Default is false.\",\n \"3-0\": \"`edw-duration`\",\n \"3-3\": \"If the catalog configuration allows for an Extended Download Warranty (EDW), this property indicates how many years of EDW to provide with the given order. The permitted values are **1** or **2**.\",\n \"3-2\": \"Optional\",\n \"3-1\": \"*integer*\"\n },\n \"cols\": 4,\n \"rows\": 4\n}\n[/block]\n###Response\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Property Name\",\n \"h-1\": \"Type\",\n \"h-2\": \"Description\",\n \"0-0\": \"`cart-item`\",\n \"0-1\": \"container\",\n \"h-3\": \"Description\",\n \"0-3\": \"Defines the type of transaction. Values can be:\\nAUTH_ONLY\\nAUTH_CAPTURE\\nCAPTURE\\nAUTH_REVERSAL\\nSee Transaction Types\",\n \"1-0\": \"`charged-currency`\",\n \"1-1\": \"*string*\",\n \"1-3\": \"BlueSnap identifier for the transaction.\",\n \"h-4\": \"Description\",\n \"0-2\": \"Container of [cart-item](doc:cart-item) properties.\",\n \"1-2\": \"Currency code (ISO 4217) of the currency used in this order. See [Currency codes](/docs/currency-codes).\",\n \"2-0\": \"`tax`\",\n \"2-1\": \"*decimal*\",\n \"2-2\": \"The total tax for the order. This amount is added to the price.\",\n \"3-0\": \"`tax-rate`\",\n \"4-0\": \"`total-cart-cost`\",\n \"3-1\": \"*decimal*\",\n \"4-1\": \"*decimal*\",\n \"3-2\": \"The tax rate according to the country.\",\n \"4-2\": \"The total price for the order after tax and coupon discount.\"\n },\n \"cols\": 3,\n \"rows\": 5\n}\n[/block]","excerpt":"","slug":"cart","type":"basic","title":"cart"}
cart
Property Name
Type
Required
Description
cdod
boolean
Optional
If the catalog configuration allows for CD on demand, this property indicates whether to include CD on demand in the order or not. Default is false.
edw-duration
integer
Optional
If the catalog configuration allows for an Extended Download Warranty (EDW), this property indicates how many years of EDW to provide with the given order. The permitted values are 1 or 2.
Property Name
Type
Description
charged-currency
string
Currency code (ISO 4217) of the currency used in this order. See Currency codes.
tax
decimal
The total tax for the order. This amount is added to the price.
tax-rate
decimal
The tax rate according to the country.
total-cart-cost
decimal
The total price for the order after tax and coupon discount.