Method
GET /v1/ref/transportation-modes
Description
Returns the complete list of active transportation modes available in the platform. This includes modes like flight, train, bus, car, ferry, and others used for product configuration and booking workflows.Headers
This endpoint is public and does not require authentication.Query Parameters
No query parameters are required. The endpoint returns all active transportation modes sorted bydisplayOrder and then by name.
Response
Response Fields
array
required
Array of transportation mode objects.
string
required
UUID v7 identifier for the transportation mode.
string
required
Unique code identifier (e.g., “flight”, “train”, “bus”).
string
required
Human-readable name of the transportation mode.
string
Optional description of the transportation mode.
number
Order for display purposes (lower numbers appear first).
boolean
required
Whether the transportation mode is currently active.
string
required
ISO 8601 timestamp of when the record was created.
string
required
ISO 8601 timestamp of when the record was last updated.
Notes
- Only active transportation modes (
isActive: true) are returned - Results are sorted by
displayOrder(ascending), then byname(ascending) - Inactive or soft-deleted modes are excluded from this endpoint