Anchor to validationUpdatevalidation
mutationvalidation Update
Requires access scope.
Updates a cart and checkout validation. Use to rename it,
toggle whether it's enabled at checkout, change its behavior,
or update its metafields.
Validation errors always block checkout progress. The field
controls whether runtime exceptions, such as timeouts, also block checkout.
Anchor to Arguments
Arguments
- id (ID!)
- validation (ValidationUpdateInput!)
- •ID!required
The ID representing the validation to update.
- Anchor to validationvalidation•Validation
Update Input! required The input fields to update a validation.
Was this section helpful?
- userErrors ([ValidationUserError!]!)
- validation (Validation)
- Anchor to userErrorsuser•[Validation
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to validationvalidation•Validation
The updated validation.
Was this section helpful?