Anchor to StandardMetafieldDefinitionEnableUserErrorStandard
objectStandard Metafield Definition Enable User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (StandardMetafieldDefinitionEnableUserErrorCode)
- field ([String!])
- message (String!)
- 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.
Was this section helpful?
Anchor to MutationsMutations
- standardMetafieldDefinitionEnable (StandardMetafieldDefinitionEnablePayload)
- •mutation
Activates the specified standard metafield definition from its template.
Refer to the list of standard metafield definition templates.
- Anchor to ownerTypeowner•Metafield
Type Owner Type! required The resource type that the metafield definition is scoped to.
- •ID
The ID of the standard metafield definition template to enable.
- Anchor to namespacenamespace•String
The namespace of the standard metafield to enable. Used in combination with
key.- •String
The key of the standard metafield to enable. Used in combination with
namespace.- •BooleanDefault:null
Whether to pin the metafield definition.
- Anchor to visibleToStorefrontApivisible•Boolean
To Storefront Api DeprecatedDefault:null - Anchor to useAsCollectionConditionuse•Boolean
As Collection Condition DeprecatedDefault:null - Anchor to capabilitiescapabilities•Metafield
Capability Create Input The capabilities of the metafield definition.
- Anchor to accessaccess•Standard
Metafield Definition Access Input The access settings that apply to each of the metafields that belong to the metafield definition.
Arguments
Was this section helpful?