Anchor to StandardMetafieldDefinitionEnablePayloadStandard
payloadStandard Metafield Definition Enable Payload
Return type for mutation.
Anchor to FieldsFields
- createdDefinition (MetafieldDefinition)
- userErrors ([StandardMetafieldDefinitionEnableUserError!]!)
- 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.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- 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?