Validation
Requires access scope.
A checkout server side validation installed on the shop.
Anchor to Fields and connectionsFields and connections
- Anchor to blockOnFailureblock•
On Failure Boolean!non-null Whether the validation should block on failures other than expected violations.
- Anchor to enabledenabled•Boolean!non-null
Whether the validation is enabled on the merchant checkout.
- Anchor to errorHistoryerror•
History The error history on the most recent version of the validation function.
- •ID!non-null
Global ID for the validation.
- Anchor to metafieldmetafield•
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to shopifyFunctionshopify•
Function ShopifyFunction! non-null The Shopify Function implementing the validation.
- Anchor to titletitle•String!non-null
The merchant-facing validation name.
Map
Fields and connections with this object
Anchor to QueriesQueries
- •query
Validation available on the shop.
- •query
Validations available on the shop.
Validation Queries
Queried by
Anchor to MutationsMutations
- •mutation
Creates a validation.
- •mutation
Update a validation.