Skip to main content
Anchor to StandardMetafieldDefinitionEnableUserError

StandardMetafieldDefinitionEnableUserError

object

An error that occurs during the execution of StandardMetafieldDefinitionEnable.

•StandardMetafieldDefinitionEnableUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


Was this section helpful?

•mutation

Activates the specified standard metafield definition from its template.

Refer to the list of standard metafield definition templates.

Arguments

•StandardMetafieldDefinitionAccessInput

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.

•String

The namespace of the standard metafield to enable. Used in combination with key.

•MetafieldOwnerType!required

The resource type that the metafield definition is scoped to.

•Boolean!requiredDefault:false

Whether to pin the metafield definition.

Anchor to useAsCollectionConditionuseAsCollectionCondition
•BooleanDeprecatedDefault:false
Anchor to visibleToStorefrontApivisibleToStorefrontApi
•BooleanDeprecatedDefault:null

Fields

•MetafieldDefinition

The metafield definition that was created.

•[StandardMetafieldDefinitionEnableUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?
OSZAR »