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.

As of API version 2021-04, you can query the ScriptTag resource 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

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