Requires unauthenticated_write_checkouts_info access scope.
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Appends gift cards to an existing checkout.
Arguments
checkoutId ● String!non-null
The ID of the checkout.
giftCardCodes ● [String!]non-null
List of gift card number applied to checkout
Returns
checkout ● Checkout
The updated checkout object.
checkoutUserErrors ● [CheckoutUserError!]!non-null
The list of errors that occurred from executing the mutation.
Error Code
For more information about common error codes, refer to Status and error codes.
Was this article helpful to you?

Error loading component.

Error loading component.