Standard Metafield Definition Enable User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- Anchor to codecode•Standard
Metafield Definition 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.
Anchor to MutationsMutations
- •mutation
Activates the specified standard metafield definition from its template.
Refer to the list of standard metafield definition templates.
- Anchor to accessaccess•Standard
Metafield Definition Access Input The access settings that apply to each of the metafields that belong to the metafield definition.
- •ID
The ID of the standard metafield definition template to enable.
- •String
The key of the standard metafield to enable. Used in combination with
namespace
.- Anchor to namespacenamespace•String
The namespace of the standard metafield to enable. Used in combination with
key
.- Anchor to ownerTypeowner•Metafield
Type Owner Type!required The resource type that the metafield definition is scoped to.
- •Boolean!requiredDefault:false
Whether to pin the metafield definition.
- Anchor to useAsCollectionConditionuse•BooleanDeprecatedDefault:false
As Collection Condition - Anchor to visibleToStorefrontApivisible•BooleanDeprecatedDefault:null
To Storefront Api
Arguments
- Anchor to createdDefinitioncreated•Metafield
Definition Definition The metafield definition that was created.
- Anchor to userErrorsuser•[Standard
Errors Metafield Definition Enable User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields