DELETE
Delete an order
Company space Cannot be undone For: Cashier and seller, Manager · Permission: orders.delete Conditions
  • The order must be updating or rejected; other statuses cannot be deleted.
  • The order must be editable: created today unless the caller holds the update-past-data permission.
  • The order must have no payments.
What else happens
  • Deletes the order’s tax lines, discount records, item allocations, items and credit detail together with the order.
Part of Take and approve orders.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

order
string
required

Identifier of the order.

Query Parameters

response
enum<string>
default:none

Response mode. Default none; none answers 204 No Content.

Available options:
none

Response

204

No Content (response mode none).