2021-04 release notes (Release candidate)

Release date Date version is no longer supported
April 1, 2021 April 1, 2022

GraphQL Admin API changes

Below are all the changes currently introduced in the 2021-04 version of the GraphQL Admin API.

You can now query a metafield by ID from the query root of the GraphQL Admin API.

New field

  • metafield field was added to object QueryRoot

As of API version 2021-04, you can query the ScriptTag object to determine whether the Shopify CDN (content delivery network) can cache and serve a script tag.

New field

  • cache field was added to object ScriptTag
  • cache field was added to input object ScriptTagInput

As of API version 2021-04, you can query the ShopFeatures object to determine whether a shop can enable international price rules and price overrides.

New field

  • internationalPriceRules field was added to object ShopFeatures
  • internationalPriceOverrides field was added to object ShopFeatures

GraphQL Storefront API changes

Below are all the changes currently introduced in the 2021-04 version of the GraphQL Storefront API.

As of API version 2021-04, you can query the total duties applied to line items in the checkout and the total current and original duties applied to an order.

New fields

  • totalDuties field was added to object Checkout
  • currentTotalDuties field was added to object Order
  • originalTotalDuties field was added to object Order