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!non-null
Definition Migrations 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
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.
Was this section helpful?