MetafieldDefinitionStandardTemplates
Provides prebuilt metafield templates that define standard configurations for common use cases.
View-Specific Information
Select
The connector processes all filters client-side within the connector. The following query is the only one processed server-side:
SELECT * FROM MetafieldDefinitionStandardTemplates
Columns
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the standard metafield definition template. | |
| Namespace | String | The namespace automatically assigned to the definition once it is activated, grouping related metafields under a shared context. | |
| Key | String | The key name assigned to the definition after activation, uniquely identifying it within its namespace. | |
| Name | String | The human-readable name of the standard metafield definition, used for display in admin interfaces and API responses. | |
| Description | String | A detailed description explaining the purpose and intended use of the standard metafield definition. | |
| OwnerTypes | String | A list of Shopify resource types, such as Product or Customer, to which the standard metafield definition can be applied. | |
| Validations | String | The configured validation rules that apply to the standard metafield definition, such as character limits, data ranges, or accepted formats. | |
| VisibleToStorefrontApi | Bool | Indicates whether metafields based on this definition are visible by default through the Storefront API. | |
| TypeName | String | The data type name of the metafield definition, specifying what kind of data it stores, such as 'string', 'boolean', or 'date'. | |
| TypeCategory | String | The broader data category associated with the metafield type, used for grouping similar data types in the admin or API. | |
| TypeSupportedValidations | String | The list of validation types supported for this metafield definition, defining what constraints can be applied. | |
| TypeSupportsDefinitionMigrations | Bool | Indicates whether existing metafields without definitions can be migrated to a defined template of this type. |