Alladdin

Work in progress

Site en construction

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

Alladdin
POST

Approve a proforma

Scope: sales:proforms.write https://api.alladdin.com/api/v2/proformas/{proformaId}/approve

Approves the proforma by setting the approval date.

Parameters

Path parameters

proformaId string required

Proforma ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.alladdin.com/api/v2/proformas/{proformaId}/approve"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.post(url, headers=headers)
print(response.json())

Responses

Success responses

200 Proforma approved

Error responses

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

← PreviousCreate a proforma →

Next →Attach a file to a proforma →