Set waybill pipeline
Scope: inventory:shipments.write https://api.alladdin.com/api/v2/waybills/{waybillId}/pipeline
Moves the waybill to a specific pipeline stage.
You must provide the pipeline_id of the target stage.
Parameters
Path parameters
waybillId string required
Waybill ID (24-char hex ObjectId)
Request body
object pipeline_id string required
Identifier of the target pipeline stage
Request
import requests
url = "https://api.alladdin.com/api/v2/waybills/{waybillId}/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
Success responses
200 Pipeline set
Error responses
400 Bad request application/json 401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Waybill not found application/json 429 Rate limit exceeded application/json
