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.

•Validation

The updated validation.


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.

Arguments

•ID!
required

The ID representing the validation to update.

•ValidationUpdateInput!
required

The input fields to update a validation.



Was this section helpful?