PUT
Set waybill pipeline
Scope:
inventory:shipments.writehttps://api.holded.com/api/v2/waybills/{waybillId}/pipelineMoves the waybill to a specific pipeline stage. You must provide the `pipeline_id` of the target stage.
Parameters
Path parameters
waybillId
stringrequiredWaybill ID (24-char hex ObjectId)
Request body
object
pipeline_idstringrequired
Identifier of the target pipeline stage
Request
python
import requests
url = "https://api.holded.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
200Pipeline setError responses
400Bad requestapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Waybill not foundapplication/json429Rate limit exceededapplication/json