Skip to main content
Log inSign up

Added new access argument to standardMetafieldDefinitionEnable and standardMetafieldDefinitionsEnable GraphQL mutations

As of the GraphQL Admin API version 2024-10, an access argument is being added to the standardMetafieldDefinitionEnable and standardMetafieldDefinitionsEnable GraphQL mutations.

As of the GraphQL Admin API version 2024-10, we're deprecating the visibleToStorefrontApi argument on the standardMetafieldDefinitionEnable and standardMetafieldDefinitionsEnable GraphQL mutations. Use the new access argument instead.

The new access argument allows developers to specify more granular access controls when enabling a standard metafield definition template.

Learn more about standardMetafieldDefinitionEnable and standardMetafieldDefinitionsEnable at https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/standardMetafieldDefinitionEnable and https://shopify.dev/docs/api/admin-graphql/unstable/mutations/standardMetafieldDefinitionsEnable.

Was this section helpful?