Anchor to MetafieldDefinitionCreateUserErrorMetafield
objectMetafield Definition Create User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- Anchor to codecode•Metafield
Definition Create User Error Code The error code.
- Anchor to elementIndexelement•Int
Index The index of the array element that's causing the error.
- 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
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•Metafield
Definition Definition The metafield definition that was created.
- Anchor to userErrorsuser•[Metafield
Errors Definition Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?