Skip to content
NewAgent-ready

Delete an order you no longer need

Draft and cancelled orders can now be deleted from the orders list or through the API, and their line items go with them. An order that has started billing cannot be deleted outright: cancel it first.

Removing an order that was created by mistake previously meant leaving it in the list. Draft and cancelled orders can now be deleted outright, from the orders list or through the API, and the order's line items are removed with it.

  • A draft or cancelled row on the orders list has a delete action, behind a confirmation, that says exactly what will be removed
  • An order that has reached a billing stage cannot be deleted outright. Those rows offer Cancel in place of delete, so the step that makes an order deletable is one click away, and the API declines a direct delete and points you at cancelling first. The rule is that deleting a live order is never a single unconsidered click, not that such an order can never be removed
  • An order that has started billing also cannot be moved back to draft, so the protection cannot be stepped around
  • Cancel an order first, then delete it, if you want it gone once it has started billing
  • Deleting an order removes only that order and its lines. Invoices and payments are untouched