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](https://shopify.dev/apps/metafields/definitions/standard-definitions).
Access Scopes
Fields
description:
String -
The description of the standard metafield definition.
key:
String! -
The key owned by the definition after the definition has been activated.
name:
String! -
The human-readable name for the standard metafield definition.
namespace:
String! -
The namespace owned by the definition after the definition has been activated.
ownerTypes:
MetafieldOwnerType! -
The list of resource types that the standard metafield definition can be applied to.
type:
MetafieldDefinitionType! -
The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores.
validations:
MetafieldDefinitionValidation! -
The configured validations for the standard metafield definition.
visibleToStorefrontApi:
Boolean! -
Whether metafields for the definition are by default visible using the Storefront API.
Connections
Related queries
standardMetafieldDefinitionTemplates
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`](https://shopify.dev/api/admin-graphql/latest/objects/StandardMetafieldDefinitionTemplate).