Skip to main content

CartType

No description

type CartType {
id: String
items: [CartItemType]
isCompleted: Boolean!
promoCode: String
freeShipping: Boolean!
fixedDiscount: Decimal!
appliedCampaigns: [CampaignRuleType]
summary: CartSummaryType
}

Fields

CartType.id ● String scalar

CartType.items ● [CartItemType] list object

CartType.isCompleted ● Boolean! non-null scalar

CartType.promoCode ● String scalar

CartType.freeShipping ● Boolean! non-null scalar

CartType.fixedDiscount ● Decimal! non-null scalar

CartType.appliedCampaigns ● [CampaignRuleType] list object

CartType.summary ● CartSummaryType object

Returned by

addPackageToCart mutation ● addToCart mutation ● completeCart mutation ● getCart query ● setCartPromoCode mutation ● updateCartGroup mutation ● updateCartItem mutation

Member Of

CheckoutDataType object ● CheckoutType object ● OrderType object