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.

object

Requires read_validations access scope.

A checkout server side validation installed on the shop.

Anchor to Fields and connectionsFields and connections

•
Boolean!non-null

Whether the validation should block on failures other than expected violations.

•
Boolean!non-null

Whether the validation is enabled on the merchant checkout.

•

The error history on the most recent version of the validation function.

•
ID!non-null

Global ID for the validation.

•

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

•

A list of custom fields that a merchant associates with a Shopify resource.

•

The Shopify Function implementing the validation.

•
String!non-null

The merchant-facing validation name.

Show
deprecated fields and connections Deprecated
Anchor to metafieldDefinitionsmetafieldDefinitions
•

List of metafield definitions. This field will be removed in a future version. Use the root metafieldDefinitions field instead.

•

Returns a private metafield by namespace and key that belongs to the resource. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.

•
PrivateMetafieldConnection!non-nullDeprecated

List of private metafields that belong to the resource. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.


Was this section helpful?

•
query

Validation available on the shop.

•
query

Validations available on the shop.


Was this section helpful?

•
mutation

Creates a validation.

•
mutation

Update a validation.


Was this section helpful?


Was this section helpful?