POST
Reject an estimate
Scope:
sales:estimates.writehttps://api.holded.com/api/v2/estimates/{estimateId}/rejectMarks the estimate as rejected. This changes the estimate status to rejected and records who rejected it. Rejected estimates remain in your account for reference but are excluded from active pipeline views. A signed-in user with limited access to estimates only reaches the estimates assigned to them or created by them; any other is reported as not found. API keys still need the scope of this endpoint.
Parameters
Path parameters
estimateId
stringrequiredEstimate ID (24-char hex ObjectId)
Request body
object
namestring | null
Name of the person rejecting the estimate
commentstring | null
Optional comment from the client
Request
python
import requests
url = "https://api.holded.com/api/v2/estimates/{estimateId}/reject"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
payload = {
"name": "string",
"comment": "string"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Responses
Success responses
200Estimate rejectedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Estimate not foundapplication/json429Rate limit exceededapplication/json