--- title: Fetching carrier-calculated rates through @defer directive in Storefront GraphQL API - 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/fetching-carrier-calculated-rates-through-defer-directive-in-storefront-graphql-api md: https://shopify.dev/changelog/fetching-carrier-calculated-rates-through-defer-directive-in-storefront-graphql-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) July 1, 2024 Tags: * Storefront GraphQL API * 2024-07 # Fetching carrier-calculated rates through `@defer` directive in Storefront GraphQL 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](https://shopify.dev/docs/custom-storefronts/building-with-the-storefront-api/defer#fetching-carrier-calculated-rates-for-the-cart-using-defer). We value your input, please share your [feedback on Github.](https://github.com/Shopify/storefront-api-feedback/discussions/234)