Skip to main content
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.

•FunctionsErrorHistory

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

•ID!
non-null

Global ID for the validation.

•Metafield

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

•MetafieldConnection!
non-null

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

•ShopifyFunction!
non-null

The Shopify Function implementing the validation.

•String!
non-null

The merchant-facing validation name.

Deprecated fields and connections

Anchor to metafieldDefinitionsmetafieldDefinitions
•MetafieldDefinitionConnection!
non-nullDeprecated
•PrivateMetafield
Deprecated
•PrivateMetafieldConnection!
non-nullDeprecated

Was this section helpful?

•query

Validation available on the shop.

•query

Validations available on the shop.


Was this section helpful?

•mutation

Creates a validation.

Arguments

•ValidationCreateInput!
required

The input fields for a new validation.


Fields

•[ValidationUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•Validation

The created validation.

•mutation

Update a validation.

Arguments

•ID!
required

The ID representing the validation to update.

•ValidationUpdateInput!
required

The input fields to update a validation.


Fields

•[ValidationUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•Validation

The updated validation.


Was this section helpful?


Was this section helpful?
OSZAR »