Metafield definition validation types
A Metafield definition validation type is one kind of validation rule - min_length, max_length, min_value, max_value, max_precision, json_schema, and so on. This is a read-only reference resource: list the types to discover the valid values for a validation’s name.
Which types apply to a given definition depends on its data type - the authoritative per-type list is the allowedValidations field on Metafield definition types.
The Metafield definition validation type object
Section titled “The Metafield definition validation type object”| Property | Type | Required | Description |
|---|---|---|---|
id | string | - | The validation type identifier (e.g. max_length). |
description | string | - | A human-readable description of the validation type. |
Conventions
Section titled “Conventions”All requests require an OAuth 2.0 bearer token and the organization scope header:
Authorization: Bearer <token>X-Flowkiwi-Organization-Id: <organization-id>This resource is read-only - it has no create, update or delete operations.