Estimate

Deletes an estimate by its Estimate ID.

Only estimates with a status of Draft, Sent, Accepted or Rejected can be deleted. Estimates that have been converted to an invoice are protected and return 422. The estimate's line items and activity records are removed with it; file attachments are flagged for asynchronous removal from storage. A repeat DELETE of the same ID returns 404, so automation retry loops are safe.

Example request: DELETE /api/Estimate?EstimateID=4120 Example response (200): { "estimateID": 4120, "isDeleted": true }

delete/api/Estimate

Query parameters

EstimateIDinteger

The ID of the estimate to delete, supplied in the query string.

SendWebhooksboolean

If true, fires the estimate_deleted webhook to subscribed endpoints. Defaults to false.

Response

The estimate was deleted successfully.

object required

Changes

Changed in 1 of the 3 revisions of this API.1