Skip to main content
Anchor to ValidationUpdatePayload

ValidationUpdatePayload

payload

Return type for validationUpdate mutation.

•[ValidationUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields
•Validation

The updated validation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates a cart and checkout validation. Use validationUpdate to rename it, toggle whether it's enabled at checkout, change its blockOnFailure behavior, or update its metafields.

Validation errors always block checkout progress. The blockOnFailure field controls whether runtime exceptions, such as timeouts, also block checkout.

Show payload

Arguments

•ID!
required

The ID representing the validation to update.

•ValidationUpdateInput!
required

The input fields to update a validation.

Show input fields


Was this section helpful?