Tags:
- Storefront GraphQL API
- 2024-07
Fetching carrier-calculated rates through @defer directive in Storefront GraphQL API
@defer directive in Storefront GraphQL APIAs of 2024-07, supports a new 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.
Was this section helpful?