iotoms Docs

Delete a draft quotation

DELETE
/api/v1/sales/quotations/{id}

Permanently deletes a quotation along with its lines and generated PDF. Only draft quotations can be deleted.

How to use it

  1. Confirm the quotation is still DRAFT with Get a quotation; sent, accepted, lost or converted quotations cannot be deleted.
  2. Call with the quotation ID; the quotation, its lines and its saved PDF link are removed permanently.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*string

ID of the record (UUID).

Formatuuid

Header Parameters

X-TenantID*string

Your merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.

Response Body

OK

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/sales/quotations/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'X-TenantID: your-tenant-code'
Example Response
Empty