added

Updates for June, 2025

Endpoints affected

New fields added

  • Within additional_data -> airline
Field NameTypeDescriptionExamples
typeenumType of tripONE_WAY, ROUNDTRIP, MULTIPLE_DESTINATIONS
  • Within additional_data -> legs
FieldTypeDescriptionExample
orderintA running index (starts with 1), describing the order of legs in the same route.2
route_orderintA running index (starts with 1), describing the order of routes by time.

E.g: If an order contains 2 Routes:
New-York→London→Paris (connection in London)
• New-York→London should have route_order=1, order=1
• London→Paris should have route_order=1, order=2

Paris→London→New-York
• Paris→London should have route_order=2, order=1
• London→New-York should have route_order=2, order=2
1

Transportation

A new transportations struct has been added inside additional_data

FieldTypeDescriptionExample
transportationsarray of objectsSpecifies the transportations array of objects
idstringThe id of the transportation booking (MAX 255; MIN 1)AAA0001
descriptionstringThe description of the transportation booking (MAX 255; MIN 1)Bus ticket
typeenumTransportation booking typeONE_WAY, ROUNDTRIP, MULTIPLE_DESTINATIONS
legsarray of objectsSpecifies the legs array of objects
↳ ↳ orderintA running index (starts with 1), describing the order of legs in the same route2
↳ ↳ route_orderintA running index (starts with 1), describing the order of routes by time.
E.g: If an order contains 2 Routes:
New-York→London→Paris (connection in London)
New-York→London should have route_order=1, order=1
London→Paris should have route_order=1, order=2
Paris→London→New-York
Paris→London should have route_order=2, order=1
London→New-York should have route_order=2, order=2
1
↳ ↳ departure_countrystringCountry of the departure (MAX 2; MIN 2; ISO 3166-1)CO
↳ ↳ departure_citystringThe city of the departure (MAX 255; MIN 1)Bogotá
↳ ↳ departure_timezonestringDeparture timezone (MAX 6; MIN 6)-03:00
↳ ↳ departure_datetimetimestampThe departure date and time in local time at the departure2022-05-09T20:46:54.786342Z
↳ ↳ departure_referencestringThe reference of the departure (MAX 255; MIN 1)AAA001-2
↳ ↳ arrival_countrystringCountry of the arrival (MAX 2; MIN 2; ISO 3166-1)CO
↳ ↳ arrival_citystringThe city of the arrival (MAX 255; MIN 1)Medellín
↳ ↳ arrival_timezonestringArrival timezone (MAX 6; MIN 6)-03:00
↳ ↳ arrival_datetimetimestampThe arrival date and time in local time at the arrival2022-05-09T24:46:54.786342Z
↳ ↳ arrival_referencestringThe reference of the arrival (MAX 255; MIN 1)AAA001-4
↳ ↳ transportobjectSpecifies the transport object
↳ ↳ ↳ idstringThe id of the transportation vehicle (MAX 255; MIN 1)ASONDAKS-1234
↳ ↳ ↳ typeenumTransportation vehicle typeSHIP, BUS, TRAIN, TRAM, CAR
↳ ↳ ↳ descriptionstringThe description of the transportation vehicle (MAX 255; MIN 1)BUS 2022
passengersarray of objectsSame as in airlines
ticketsarray of objectsSame as in airlines