# cartGiftCardCodesUpdate - storefront - MUTATION Version: 2025-01 ## Description Updates the gift card codes applied to the cart. ### Access Scopes ## Arguments * [cartId](/docs/api/storefront/2025-01/scalars/ID): ID! - The ID of the cart. * [giftCardCodes](/docs/api/storefront/2025-01/scalars/String): String! - The case-insensitive gift card codes. The input must not contain more than `250` values. ## Returns * [cart](/docs/api/storefront/2025-01/objects/Cart): Cart The updated cart. * [userErrors](/docs/api/storefront/2025-01/objects/CartUserError): CartUserError! The list of errors that occurred from executing the mutation. * [warnings](/docs/api/storefront/2025-01/objects/CartWarning): CartWarning! A list of warnings that occurred during the mutation. ## Examples