--- title: Storefront API Cart now supports applying Gift Cards - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/storefront-api-cart-now-supports-applying-gift-cards md: https://shopify.dev/changelog/storefront-api-cart-now-supports-applying-gift-cards.md --- [Back to Developer changelog](https://shopify.dev/changelog) April 9, 2024 Tags: * Storefront GraphQL API * 2024-07 # 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.