# Storefront API Cart now supports applying Gift Cards — Shopify developer changelog --- ## Storefront API Cart now supports applying Gift Cards As of version 2024-07 of the GraphQL Storefront API, Cart supports adding and querying for Gift Cards. Updating Gift Cards can be achieved in two ways: - When creating a cart - adding the [`CartInput`](https://shopify.dev/docs/api/storefront/2024-07/input-objects/cartinput) `giftCardCodes` property. - After a cart is created - performing the [`cartUpdateGiftCardCodes`](https://shopify.dev/docs/api/storefront/2024-07/mutations/cartGiftCardCodesUpdate) mutation. You can also query the cart for applied Gift Cards using the [`appliedGiftCards`](https://shopify.dev/docs/api/storefront/2024-07/objects/Cart#field-cart-appliedgiftcards) property. *Published: April 09, 2024* Tags: API, New Link: https://shopify.dev/changelog/storefront-api-cart-now-supports-applying-gift-cards ---