Anchor to MetafieldDefinitionTypeMetafield
objectMetafield Definition Type
A metafield definition type provides basic foundation and validation for a metafield.
Anchor to FieldsFields
- Anchor to categorycategory•String!non-null
The category associated with the metafield definition type.
- Anchor to namename•String!non-null
The name of the type for the metafield definition. See the list of supported types.
- Anchor to supportedValidationssupported•[Metafield
Validations Definition Supported Validation!]! non-null The supported validations for a metafield definition type.
- Anchor to supportsDefinitionMigrationssupports•Boolean!
Definition Migrations non-null Whether metafields without a definition can be migrated to a definition of this type.
- Anchor to valueTypevalue•Metafield
Type Value Type! non-nullDeprecated
Was this section helpful?
Anchor to QueriesQueries
- •query
The available metafield types that you can use when creating
objects. Each type specifies what kind of data it stores (such as boolean, color, date, or references), its category, and which validations it supports.For a list of supported types and their capabilities, refer to the metafield types documentation.
Was this section helpful?