Objects
CartType
Type containing cart information
Type containing cart information
type CartType {
id: String
items: [CartItemType]
isCompleted: Boolean!
promoCode: String
freeShipping: Boolean!
fixedDiscount: Decimal!
merchantData: String
appliedCampaigns: [CampaignRuleType]
summary: CartSummaryType
}
Fields
id ● String scalar
The cart ID
items ● [CartItemType] list object
The cart items
isCompleted ● Boolean! non-null scalar required
If true, the cart can not be modified further
promoCode ● String scalar
Cart promo code
freeShipping ● Boolean! non-null scalar required
Whether the cart has free shipping
fixedDiscount ● Decimal! non-null scalar required
Cart fixed discount
merchantData ● String scalar
Cart merchant data
appliedCampaigns ● [CampaignRuleType] list object
Campaigns applied to this cart
summary ● CartSummaryType object
The cart summary
Returned By
addPackageToCart mutation ● addToCart mutation ● clearCart mutation ● cloneCart mutation ● completeCart mutation ● getCart query ● setCartMerchantData mutation ● setCartPromoCode mutation ● updateCartGroup mutation ● updateCartItem mutation
Member Of
CheckoutDataType object ● CheckoutType object ● OrderType object