Alladdin

Work in progress

Site en construction

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

Alladdin
PUT

Set receipt note pipeline

Scope: sales:invoices.write https://api.alladdin.com/api/v2/receipt-notes/{receiptNoteId}/pipeline

Moves the receipt note to a specific pipeline stage.
You must provide the pipeline_id of the target stage.

Parameters

Path parameters

receiptNoteId string required

Receipt Note ID (24-char hex ObjectId)

Request body

object pipeline_id string required

Request

python
import requests

url = "https://api.alladdin.com/api/v2/receipt-notes/{receiptNoteId}/pipeline"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "pipeline_id": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "status": "ok"
}

Success responses

200 Pipeline set application/json object status string required

Confirmation status

Error responses

400 Bad request application/json 401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Receipt note not found. application/json 429 Rate limit exceeded application/json 500 Internal server error application/json object type string title string status integer detail string

← PreviousUpdate a receipt note →

Next →List receipt note attachments →