Method
POST /v1/departures
Body Parameters
Headers
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X POST https://api.voyantcloud.com/v1/departures \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"productId": "prod_123",
"startAt": "2025-06-01T08:00:00Z",
"endAt": "2025-06-05T18:00:00Z",
"capacity": 24,
"status": "scheduled",
"meetingPoint": { "name": "Athens Marina" }
}'
{
"data": {
"id": "dep_456",
"productId": "prod_123",
"startAt": "2025-06-01T08:00:00.000Z",
"endAt": "2025-06-05T18:00:00.000Z",
"capacity": 24,
"status": "scheduled",
"meetingPoint": { "name": "Athens Marina" },
"transportModeId": null,
"transportConfigId": null,
"itineraryId": null,
"itineraryVersionId": null,
"shipId": null,
"isDirectionReverse": false,
"externalCodes": null,
"attributes": {},
"createdAt": "2025-02-20T12:34:56.000Z"
}
}
Add a departure instance to a product and automatically sync availability.
POST /v1/departures
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X POST https://api.voyantcloud.com/v1/departures \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"productId": "prod_123",
"startAt": "2025-06-01T08:00:00Z",
"endAt": "2025-06-05T18:00:00Z",
"capacity": 24,
"status": "scheduled",
"meetingPoint": { "name": "Athens Marina" }
}'
{
"data": {
"id": "dep_456",
"productId": "prod_123",
"startAt": "2025-06-01T08:00:00.000Z",
"endAt": "2025-06-05T18:00:00.000Z",
"capacity": 24,
"status": "scheduled",
"meetingPoint": { "name": "Athens Marina" },
"transportModeId": null,
"transportConfigId": null,
"itineraryId": null,
"itineraryVersionId": null,
"shipId": null,
"isDirectionReverse": false,
"externalCodes": null,
"attributes": {},
"createdAt": "2025-02-20T12:34:56.000Z"
}
}