POST
Accept an estimate
Scope:
sales:estimates.writehttps://api.holded.com/api/v2/estimates/{estimateId}/acceptMarks the estimate as accepted. This changes the estimate status to accepted and records who accepted it. Once accepted, the estimate can be converted into an invoice, sales order, or other document. 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 accepting the estimate
commentstring | null
Optional comment from the client
Request
python
import requests
url = "https://api.holded.com/api/v2/estimates/{estimateId}/accept"
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 acceptedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Estimate not foundapplication/json429Rate limit exceededapplication/json