Cart
A cart is a temporary container for products that a customer or anonymous user wants to buy
type Cart {
cartItems: [CartItem]
cartType: CartType!
demandHqId: ID!
externalCustomerOrDeviceId: String!
savedForLaterItems: [SavedForLaterItem]
storefrontId: ID!
updatedAt: Date!
}
Fields
Cart.cartItems
● [CartItem]
list object
Cart.cartType
● CartType!
non-null enum
Cart.demandHqId
● ID!
non-null scalar
Cart.externalCustomerOrDeviceId
● String!
non-null scalar
Cart.savedForLaterItems
● [SavedForLaterItem]
list object
Cart.storefrontId
● ID!
non-null scalar
Cart.updatedAt
● Date!
non-null scalar
Returned by
changeCustomerCart
mutation ● changeDeviceCart
mutation ● customerCart
query ● deviceCart
query ● mergeDeviceCartIntoCustomerCart
mutation