Skip to main content
Anchor to MetafieldDefinitionType

MetafieldDefinitionType

object

A metafield definition type provides basic foundation and validation for a metafield.

String!non-null

The category associated with the metafield definition type.

String!non-null

The name of the type for the metafield definition. See the list of supported types.

Anchor to supportedValidationssupportedValidations
[MetafieldDefinitionSupportedValidation!]!non-null

The supported validations for a metafield definition type.

Anchor to supportsDefinitionMigrationssupportsDefinitionMigrations
Boolean!non-null

Whether metafields without a definition can be migrated to a definition of this type.

MetafieldValueType!non-nullDeprecated

Was this section helpful?

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?
OSZAR »