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 StandardMetafieldDefinitionTemplate

StandardMetafieldDefinitionTemplate

object

Standard metafield definition templates provide preset configurations to create metafield definitions. Each template has a specific namespace and key that we've reserved to have specific meanings for common use cases.

Refer to the list of standard metafield definitions.

The description of the standard metafield definition.

ID!non-null

A globally-unique ID.

String!non-null

The key owned by the definition after the definition has been activated.

String!non-null

The human-readable name for the standard metafield definition.

String!non-null

The namespace owned by the definition after the definition has been activated.

The list of resource types that the standard metafield definition can be applied to.

The associated metafield definition type that the metafield stores.

The configured validations for the standard metafield definition.

Anchor to visibleToStorefrontApivisibleToStorefrontApi
Boolean!non-null

Whether metafields for the definition are by default visible using the Storefront API.


Was this section helpful?

query

Standard metafield definitions are intended for specific, common use cases. Their namespace and keys reflect these use cases and are reserved.

Refer to all available Standard Metafield Definition Templates.


Was this section helpful?

interface

Was this section helpful?