Objects

CartType

Type containing cart information

Type containing cart information

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

Fields

id ● String scalar

The cart ID

items ● [CartItemType] list object

The cart items

isCompleted ● Boolean! non-null scalar required

If true, the cart cannot be modified further

isLocked ● Boolean! non-null scalar required

If true, the cart cannot be modified or cloned

isBlockedFromCheckout ● Boolean! non-null scalar required

If true, this cart cannot proceed to checkout

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

quotation ● CartQuotationType object

The quotation associated with this cart

Returned By

addPackageToCart mutation ● addToCart mutation ● clearCart mutation ● cloneCart mutation ● completeCart mutation ● getCart query ● getQuotationCart query ● listQuotationCarts query ● setCartMerchantData mutation ● setCartPromoCode mutation ● updateCartGroup mutation ● updateCartItem mutation

Member Of

CheckoutDataType object ● CheckoutType object ● OrderType object