Skip to main content

Endpoints

MethodPathDescription
GET/v1/products/:id/transportRetrieve transport overview with departures, segments, and options.
GET/v1/products/:id/transport/configsList reusable transport configs for a product.
POST/v1/products/:id/transport/configsCreate a transport config template.
PATCH/v1/products/:id/transport/configs/:configIdUpdate a transport config template.
DELETE/v1/products/:id/transport/configs/:configIdDelete a transport config.
GET/v1/products/:id/transport/configs/:configId/addonsList addons for a transport config.
PATCH/v1/products/:id/transport/configs/:configId/addonsBulk upsert transport addons.
DELETE/v1/products/:id/transport/configs/:configId/addons/:addonIdDelete a single transport addon.
POST/v1/products/:id/transport/optionsCreate a departure transport option.
PATCH/v1/products/:id/transport/options/:optionIdUpdate a transport option.
DELETE/v1/products/:id/transport/options/:optionIdDelete a transport option.
PUT/v1/products/:id/transport/departures/:departureId/segmentsUpsert the main transport segments for a departure.
All Transport endpoints require workspace-scoped API keys. Read operations use the products:read scope. Mutations require products:write.

Key concepts

  • Transport configs are reusable templates that describe the default legs for a product; they are identified by a unique key per product.
  • Transport addons attach upsell services (e.g., extra baggage) to a config. Bulk upsert replaces rows atomically.
  • Transport options live at the departure level and can include their own legs and pricing overrides for alternative itineraries.
  • Departure segments model the primary transport plan for a departure and replace existing segments on each upsert.
  • All leg/segment payloads accept camelCase or snake_case fields; the API normalizes them before validation.