Mutations
setCartMerchantData
Set custom merchant data on the cart
Set custom merchant data on the cart
setCartMerchantData(
id: String!
merchantData: String!
channelId: String
languageId: String
marketId: String
): CartType
Arguments
id ● String! non-null scalar required
The cart ID
merchantData ● String! non-null scalar required
The custom merchant data to store on cart
channelId ● String scalar
The channel ID. Will default to an existing value if it is not found.
languageId ● String scalar
The language ID. Will default to an existing value if it is not found.
marketId ● String scalar
The market ID. Will default to an existing value if it is not found.
Type
CartType object
Type containing cart information
setCartForQuotation
Marks the cart as collecting a quotation request, or clears the mark. While it is set the cart keeps lines that are out of stock, and the cart cannot proceed to checkout. Clearing it trims the cart to stock again, and answers an OutOfStock error beside the cart for each SKU it trimmed.
setCartPromoCode
Set a promo code on the cart