Skip to main content
Anchor to cartGiftCardCodesAdd

cartGiftCardCodesAdd

mutation

Adds gift card codes to the cart without replacing existing ones.

ID!
required

The ID of the cart.

[String!]!
required

The case-insensitive gift card codes to add.

The input must not contain more than 250 values.


Was this section helpful?

Anchor to CartGiftCardCodesAddPayload returnsCartGiftCardCodesAddPayload 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?