Anchor to StandardMetafieldDefinitionsEnableUserErrorStandard
objectStandard Metafield Definitions Enable User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- Anchor to codecode•Standard
Metafield Definitions Enable User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- •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.
- Anchor to definitionsdefinitions•[Standard
Metafield Definitions Enable Input!]! required The list of standard definitions to enable. Maximum of 25.
Arguments
- Anchor to definitionsdefinitions•[Metafield
Definition!] The list of definitions that were enabled.
- Anchor to userErrorsuser•[Standard
Errors Metafield Definitions Enable User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?