Anchor to StandardMetafieldDefinitionsEnableInputStandard
input_objectStandard Metafield Definitions Enable Input
The input fields for enabling a standard metafield definition.
Anchor to FieldsFields
- access (StandardMetafieldDefinitionAccessInput)
- capabilities (MetafieldCapabilityCreateInput)
- key (String!)
- namespace (String!)
- ownerType (MetafieldOwnerType!)
- pin (Boolean)
- visibleToStorefrontApi (Boolean): deprecated
- Anchor to accessaccess•Standard
Metafield Definition Access Input The access settings that apply to each of the metafields that belong to the metafield definition.
- Anchor to capabilitiescapabilities•Metafield
Capability Create Input The capabilities of the metafield definition.
- •String!non-null
The key of the standard metafield to enable. Used in combination with
namespace.- Anchor to namespacenamespace•String!non-null
The namespace of the standard metafield to enable. Used in combination with
key.- Anchor to ownerTypeowner•Metafield
Type Owner Type! non-null The resource type that the metafield definition is scoped to.
- •BooleanDefault:null
Whether to pin the metafield definition.
- Anchor to visibleToStorefrontApivisible•Boolean
To Storefront Api DeprecatedDefault:null
Was this section helpful?