Delete Estimate Template
DELETE/invoices/estimate/template/:templateId
Delete an existing estimate template
Request
Version stringrequired
API Version
Available options
v3templateId stringrequired
Template Id
- application/json
- Body
- Example (auto)
Bodyrequired
altIdstringrequired
Location Id or Agency Id
altTypestringrequired
Available options
location{
"altId": "6578278e879ad2646715ba9c",
"altType": "location"
}
Successfully deleted
- application/json
- Schema
- Example (auto)
Schema
altIdstringrequired
Location Id or Agency Id
altTypestringrequired
Available options
location_idstringrequired
Unique identifier
liveModebooleanrequired
Indicates if it is in live mode
deletedbooleanrequired
Indicates if deleted
namestringrequired
Name
currencystringrequired
Currency code
businessDetailsobjectrequired
Business details associated with the estimate
itemsarray[]required
An array of items
discountobjectrequired
Discount details for the estimate template
titlestring
Title
estimateNumberPrefixstring
Estimate number prefix
attachmentsobject[]
Attachments
updatedBystring
User Id of who last updated
totalnumberrequired
Total amount
createdAtstring<date-time>required
Timestamp when created
updatedAtstring<date-time>required
Timestamp when last updated
__vnumberrequired
Version number
automaticTaxesEnabledbooleanrequired
Indicates if automatic taxes are enabled for this estimate
termsNotesstring
Terms and conditions for the estimate, supports HTML markup
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"_id": "67ac9a51106ee8311e911XXXX",
"liveMode": true,
"deleted": false,
"name": "Estimate Name",
"currency": "USD",
"businessDetails": {
"logoUrl": "your_image-url",
"name": "Business name",
"address": {
"addressLine1": "address line 1",
"city": "Test City",
"state": "State Name",
"countryCode": "US",
"postalCode": "12345"
},
"phoneNo": "+1 1234567890",
"website": "www.example.com",
"customValues": [
{
"name": "Test",
"fieldKey": "{{custom_values.test}}",
"id": "5DYTWoiQvWiIJZXX44XXX",
"value": "Test's Custom Value"
}
]
},
"items": [
{
"taxes": [],
"taxInclusive": false,
"_id": "67ac9a51106ee8311e911XXXX",
"description": "<p>Futuristic anti-gravity racing</p>",
"currency": "USD",
"productId": "67ac9a51106ee8311e911XXXX",
"priceId": "67ac9a51106ee8311e911XXXX",
"amount": 9.99,
"qty": 1,
"name": "TEST",
"type": "one_time"
},
{
"taxes": [
{
"_id": "67ac9a51106ee8311e911XXXX",
"name": "TaxTwo",
"rate": 8.5,
"calculation": "exclusive"
}
],
"taxInclusive": true,
"_id": "67ac9a51106ee8311e911XXXX",
"productId": "67ac9a51106ee8311e911XXXX",
"priceId": "67ac9a51106ee8311e911XXXX",
"currency": "USD",
"name": "TEST2",
"qty": 1,
"amount": 500,
"description": "",
"type": "recurring"
}
],
"discount": {
"type": "percentage",
"value": 0
},
"title": "ESTIMATE",
"estimateNumberPrefix": "EST-",
"attachments": [
{
"id": "6241712be68f7a98102ba272",
"name": "Electronics.pdf",
"url": "https://example.com/digital-delivery",
"type": "string",
"size": 10000
}
],
"updatedBy": "3HIpOF9NIc5ltriQXXXX",
"total": 1222.03,
"createdAt": "2025-02-12T13:17:47.416Z",
"updatedAt": "2025-02-12T13:17:47.416Z",
"__v": 0,
"automaticTaxesEnabled": false,
"termsNotes": "<p>All services are subject to availability.</p>"
}