Skip to main content
POST

Accept an estimate

Scope:sales:estimates.write
https://api.holded.com/api/v2/estimates/{estimateId}/accept

Marks 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

estimateIdstringrequired

Estimate 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 accepted

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Estimate not foundapplication/json
429Rate limit exceededapplication/json