Skip to main content
Anchor to StandardMetafieldDefinitionsEnableUserError

StandardMetafieldDefinitionsEnableUserError

object

An error that occurs during the execution of StandardMetafieldDefinitionsEnable.

•StandardMetafieldDefinitionsEnableUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

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.

Arguments

•[StandardMetafieldDefinitionsEnableInput!]!
required

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


Fields

•[MetafieldDefinition!]

The list of definitions that were enabled.

•[StandardMetafieldDefinitionsEnableUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?