Mutations

updateCartGroup

Update the quantity of an entire cart group

Update the quantity of an entire cart group

updateCartGroup(
  id: String!
  item: CartGroupInputType!
  allowExternalShippingFee: Boolean
  channelId: String
  languageId: String
  marketId: String
): CartType

Arguments

id ● String! non-null scalar required

The cart ID

item ● CartGroupInputType! non-null input required

The group key to be updated

allowExternalShippingFee ● Boolean scalar

If the the shipping fee on cart is allowed to take the value of an external shipping. Set to false if outside checkout.

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