checkoutGiftCardsAppend - storefront - MUTATION
Version: 2024-04
Description:
Appends gift cards to an existing checkout.
Access Scopes
`unauthenticated_write_checkouts` access scope.
Arguments
-
checkoutId:
ID! -
The ID of the checkout.
-
giftCardCodes:
String! -
A list of gift card codes to append to the checkout.
The input must not contain more than `250` values.
Returns
-
checkout:
Checkout
The updated checkout object.
-
checkoutUserErrors:
CheckoutUserError!
The list of errors that occurred from executing the mutation.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples