MetafieldDefinitionType
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•
Validations The supported validations for a metafield definition type.
- Anchor to supportsDefinitionMigrationssupports•
Definition Migrations Boolean!non-null Whether metafields without a definition can be migrated to a definition of this type.
- Anchor to valueTypevalue•
Type The value type for a metafield created with this definition type.
is deprecated and
name
should be used for type information.
Map
Anchor to QueriesQueries
- •query
Each metafield definition has a type, which defines the type of information that it can store. This type is enforced across every instance of the resource that owns the metafield definition.
Refer to the list of supported metafield types.