Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to StandardMetafieldDefinitionsEnableInput

StandardMetafieldDefinitionsEnableInput

input_object

The input fields for enabling a standard metafield definition.

•

The access settings that apply to each of the metafields that belong to the metafield definition.

•

The capabilities of the metafield definition.

•
String!non-null

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

•
String!non-null

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

•

The resource type that the metafield definition is scoped to.

•
BooleanDefault:null

Whether to pin the metafield definition.

Anchor to visibleToStorefrontApivisibleToStorefrontApi
•
BooleanDeprecatedDefault:null

Whether metafields for the definition are visible using the Storefront API. Use access.storefront instead.


Was this section helpful?