DELETE
Delete a purchase
Company space Cannot be undone For: Buyer, Manager · Permission: purchases.delete Conditions
  • Only a purchase in draft status can be deleted; any other status (including rejected) is refused.
  • A credit purchase with a remaining amount greater than zero cannot be deleted.
  • A purchase that has debt adjustments (including deleted ones) cannot be deleted.
  • A purchase that has returns cannot be deleted.
What else happens
  • Deletes the purchase and all its lines. It is removed for good.
  • No stock or accounting records are touched because a draft has none.
Part of Create and approve purchases.

Authorizations

Authorization
string
header
required

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

Path Parameters

purchase
string
required

Identifier of the purchase to delete (27-character KSUID).

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).