Mutations

setCartPromoCode

Set a promo code on the cart

Set a promo code on the cart

setCartPromoCode(
  id: String!
  promoCode: String!
  channelId: String
  languageId: String
  marketId: String
): CartType

Arguments

id ● String! non-null scalar required

The cart ID

promoCode ● String! non-null scalar required

The promo code 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