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.
Breaking change to metafieldDefinitionUpdate mutation: access input type changed
API
Effective October 01, 2023
Action required
Note: This change does not affect many apps and you likely aren't affected unless you are defining a variable of type MetafieldAccessInput
for the access property in your MetafieldDefinitionUpdate
mutation.
As of GraphQL Admin API version 2023-10, we are changing the input field type of MetafieldDefinitionUpdateInput.access
from MetafieldAccessInput
to MetafieldAccessUpdateInput
. This change is part of a broader API change to introduce support for explicit access grants (see Introducing explicit access grants for app-owned metafields for details), which will have a different input for updating the grants on existing definitions than for specifying grants on new definitions.