Skip to main content
POST

Approve a proforma

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

Approves the proforma by setting the approval date.

Parameters

Path parameters

proformaIdstringrequired

Proforma ID (24-char hex ObjectId)

Request

python
import requests

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

200Proforma approved

Error responses

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