Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to standardMetafieldDefinitionsEnable

standardMetafieldDefinitionsEnable

mutation

Requires API client to have access to the resource type associated with the metafield definition owner type.

Enables multiple specified standard metafield definitions from their templates as a single transaction. This API is idempotent so any previously-enabled standard definitions will not cause a failure. However, invalid inputs or other user errors will prevent all of the requested definitions from being enabled.

Refer to the list of standard metafield definition templates.

The list of standard definitions to enable. Maximum of 25.


Was this section helpful?

Anchor to StandardMetafieldDefinitionsEnablePayload returnsStandardMetafieldDefinitionsEnablePayload returns

The list of definitions that were enabled.

The list of errors that occurred from executing the mutation.


Was this section helpful?