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.
- •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•BooleanDefault:null
To Storefront Api Whether metafields for the definition are visible using the 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