Schema Documentation
Cart
Description
The cart object
Fields
Field Name | Description |
---|---|
appliedCoupons -
[AppliedCoupon] | Coupons applied to the cart |
availableShippingMethods -
[ShippingPackage] | Available shipping methods for this order. |
chosenShippingMethods -
[String] | Shipping method chosen for this order. |
contents -
CartToCartItemConnection | Connection between the Cart type and the CartItem type |
Arguments
| |
contentsTax -
String | Cart contents tax |
Arguments
| |
contentsTotal -
String | Cart contents total |
Arguments
| |
discountTax -
String | Cart discount tax |
Arguments
| |
discountTotal -
String | Cart discount total |
Arguments
| |
displayPricesIncludeTax -
Boolean | Do display prices include taxes |
feeTax -
String | Cart fee tax |
Arguments
| |
feeTotal -
String | Cart fee total |
Arguments
| |
fees -
[CartFee] | Additional fees on the cart. |
isEmpty -
Boolean | Is cart empty |
needsShippingAddress -
Boolean | Is customer shipping address needed |
shippingTax -
String | Cart shipping tax |
Arguments
| |
shippingTotal -
String | Cart shipping total |
Arguments
| |
subtotal -
String | Cart subtotal |
Arguments
| |
subtotalTax -
String | Cart subtotal tax |
Arguments
| |
total -
String | Cart total after calculation |
Arguments
| |
totalTax -
String | Cart total tax amount |
Arguments
| |
totalTaxes -
[CartTax] | Cart total taxes itemized |
Example
{"appliedCoupons":[AppliedCoupon],"availableShippingMethods":[ShippingPackage],"chosenShippingMethods":["abc123"],"contents":CartToCartItemConnection,"contentsTax":"abc123","contentsTotal":"abc123","discountTax":"xyz789","discountTotal":"xyz789","displayPricesIncludeTax":true,"feeTax":"xyz789","feeTotal":"abc123","fees":[CartFee],"isEmpty":false,"needsShippingAddress":true,"shippingTax":"xyz789","shippingTotal":"xyz789","subtotal":"xyz789","subtotalTax":"abc123","total":"xyz789","totalTax":"abc123","totalTaxes":[CartTax]}