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.
Fetching carrier-calculated rates through @defer
directive in Storefront GraphQL API
API
Effective July 01, 2024
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.