Skip to main content

Method

PUT /v1/products/:id/transport/departures/:departureId/segments

Path Parameters

uuid
Product ID that owns the departure.
uuid
Departure ID whose segments should be replaced.

Body Parameters

Headers

string
Bearer token (requires products:write).
string
application/json

Request Example

Response

This endpoint replaces all existing segments for the departure. Send the complete list you want to persist each time you call it.