Docs
Return Order Version To Draft
DELETE /Orders/{orderId}/versions/{versionId}/sent
DELETE
/Orders/{orderId}/versions/{versionId}/sentUndoes Mark sent on the latest revision; the order reads Draft again. Refused once the revision is confirmed, with a quote or invoice on it, while the order is Paid, while the order has an active public link, and on an Abandoned or Canceled order. Version ids come from Orders_GetOrder. An org token is also accepted on an event order of its organization (order edit), and on an organization-level order (resource inventory edit).
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required | |
| versionId | uuid | Required |