Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

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 giftCardCodes property. - After a cart is created - performing the cartUpdateGiftCardCodes mutation.

You can also query the cart for applied Gift Cards using the appliedGiftCards property.