Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to MetafieldDefinitionSupportedValidation

MetafieldDefinitionSupportedValidation

object

The type and name for the optional validation configuration of a metafield.

For example, a supported validation might consist of a max name and a number_integer type. This validation can then be used to enforce a maximum character length for a single_line_text_field metafield.

String!non-null

The name of the metafield definition validation.

String!non-null

The type of input for the validation.


Was this section helpful?