Mutations

clearCart

Clears all items in the cart

Clears all items in the cart

clearCart(
  id: String!
  channelId: String
  languageId: String
  marketId: String
): CartType

Arguments

id ● String! non-null scalar required

The cart ID

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