Anchor to MetafieldDefinitionCreateUserErrorMetafield
Metafield Definition Create User Error
object
An error that occurs during the execution of .
Anchor to FieldsFields
- Anchor to codecode•
The error code.
- Anchor to elementIndexelement•
Index The index of the array element that's causing the error.
- Anchor to fieldfield•
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
Creates a metafield definition. Any metafields existing under the same owner type, namespace, and key will be checked against this definition and will have their type updated accordingly. For metafields that are not valid, they will remain unchanged but any attempts to update them must align with this definition.
- Anchor to definitiondefinition•Metafield
Definition Input!required Specifies the input fields for a metafield definition.
Arguments
- Anchor to createdDefinitioncreated•
Definition The metafield definition that was created.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?