Metafield Definition Update User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- Anchor to codecode•Metafield
Definition Update 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.
Anchor to MutationsMutations
- •mutation
Updates a
's configuration and settings. You can modify the definition's name, description, validation rules, access settings, capabilities, and constraints.The mutation updates access settings that control visibility across different APIs, such as the GraphQL Admin API, Storefront API, and Customer Account API. It also enables capabilities like admin filtering or unique value validation, and modifies constraints that determine which resource subtypes the definition applies to.
NoteThe type, namespace, key, and owner type identify the definition and so can't be changed.
Learn more about updating metafield definitions.
- Anchor to definitiondefinition•Metafield
Definition Update Input! required The input fields for the metafield definition update.
Arguments