Method
PATCH /v1/departures/:id
Path Parameters
Departure ID.
Body Parameters
Headers
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X PATCH "https://api.voyantcloud.com/v1/departures/dep_456" \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"productId": "prod_123",
"status": "scheduled",
"capacity": 32,
"meetingPoint": "Port of Piraeus"
}'
{
"data": {
"id": "dep_456",
"productId": "prod_123",
"startAt": "2025-06-01T08:00:00.000Z",
"endAt": "2025-06-05T20:00:00.000Z",
"capacity": 32,
"status": "scheduled",
"meetingPoint": "Port of Piraeus",
"transportModeId": null,
"transportConfigId": null,
"itineraryId": "iti_001",
"itineraryVersionId": "itv_010",
"shipId": null,
"isDirectionReverse": false,
"externalCodes": null,
"attributes": { "channel": "early-bird" },
"createdAt": "2025-02-20T12:34:56.000Z"
}
}
Modify departure timing, capacity, status, or metadata.
PATCH /v1/departures/:id
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X PATCH "https://api.voyantcloud.com/v1/departures/dep_456" \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"productId": "prod_123",
"status": "scheduled",
"capacity": 32,
"meetingPoint": "Port of Piraeus"
}'
{
"data": {
"id": "dep_456",
"productId": "prod_123",
"startAt": "2025-06-01T08:00:00.000Z",
"endAt": "2025-06-05T20:00:00.000Z",
"capacity": 32,
"status": "scheduled",
"meetingPoint": "Port of Piraeus",
"transportModeId": null,
"transportConfigId": null,
"itineraryId": "iti_001",
"itineraryVersionId": "itv_010",
"shipId": null,
"isDirectionReverse": false,
"externalCodes": null,
"attributes": { "channel": "early-bird" },
"createdAt": "2025-02-20T12:34:56.000Z"
}
}