Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
POST

Accept an estimate

Scope: sales:estimates.write https://api.alladdin.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.

Parameters

Path parameters

estimateId string required

Estimate ID (24-char hex ObjectId)

Request body

object name string | null

Name of the person accepting the estimate

comment string | null

Optional comment from the client

Request

python
import requests

url = "https://api.alladdin.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

200 Estimate accepted

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Estimate not found application/json 429 Rate limit exceeded application/json

← PreviousCreate an estimate →

Next →Attach a file to an estimate →