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

Fetching carrier-calculated rates through @defer directive in Storefront GraphQL API

API

As of 2024-07, Cart#deliveryGroups supports a new withCarrierRates argument, used to indicate intent to fetch carrier-calculated rates. This capability requires mandatory use of @defer directive, which ensures that the cart response is not blocked on calculating rates.

Test out the carrier-calculated rates on the cart today by following our tutorial. We value your input, please share your feedback on Github.