Skip to main content
Anchor to cartGiftCardCodesRemove

cartGiftCardCodesRemove

mutation

Removes gift cards from a Cart using their IDs. You can retrieve the IDs of applied gift cards from the cart's appliedGiftCards field.

•[ID!]!
required

The gift cards to remove.

The input must not contain more than 250 values.

•ID!
required

The ID of the cart.


Was this section helpful?

Anchor to CartGiftCardCodesRemovePayload returnsCartGiftCardCodesRemovePayload returns

•Cart

The updated cart.

•[CartUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[CartWarning!]!
non-null

A list of warnings that occurred during the mutation.


Was this section helpful?