Skip to main content

orderRevisionsInvalidate

Invalidate multiple order revisions based on specified criteria.

Marks order revisions as invalid, preventing them from being used for restoration or reference. This operation is typically used for data cleanup or when revisions contain incorrect information.

Possible errors:

  • ORDER_REVISIONS_INVALIDATE_ERROR: Failed to invalidate order revisions due to system error
  • ORDER_NOT_FOUND: One or more specified orders do not exist
  • VALIDATION_ERROR: Invalid input parameters or revision criteria provided
  • FORBIDDEN: Insufficient permissions to invalidate order revisions

AUTH: Role=[order.OWNER,order.EDITOR]

orderRevisionsInvalidate(
input: OrderRevisionsInvalidateInput!
): Boolean!

Arguments

orderRevisionsInvalidate.input ● OrderRevisionsInvalidateInput! non-null input

Criteria for selecting which order revisions to invalidate

Type

Boolean scalar

The Boolean scalar type represents true or false.