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":["xyz789"],"contents":CartToCartItemConnection,"contentsTax":"abc123","contentsTotal":"abc123","discountTax":"abc123","discountTotal":"xyz789","displayPricesIncludeTax":false,"feeTax":"xyz789","feeTotal":"abc123","fees":[CartFee],"isEmpty":true,"needsShippingAddress":false,"shippingTax":"xyz789","shippingTotal":"abc123","subtotal":"abc123","subtotalTax":"abc123","total":"xyz789","totalTax":"xyz789","totalTaxes":[CartTax]}