Skip to main content

Flight Detail

POST

/api/v1/generic-api-service/flight/detail

The detail endpoint returns the detailed, re-priced information for the flight offer(s) selected from the Flight Search results. It confirms the current price, segments, fare brands and the booking restrictions that apply before proceeding to reservation. It supports both one-way and round-trip. For round-trip, flights[0].departure is the departure leg and flights[1].return is the return leg.

curl --location 'https://test-api.etscore.com/api/v1/generic-api-service/flight/detail' \
--header 'Accept-Language: en-US' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"searchId": "5029md2matl3schcom2vbsvk4g7j4vc6",
"offers": {
"departure": {
"flightId": "pz-f3b3640e-6059-4267-bc81-114de4aa238c",
"offerId": "XBAG-a86713d6a71445a285ca7267732f1608"
},
"return": {
"flightId": "pz-f51fb2fb-bb16-40c1-8286-7aeddff29f08",
"offerId": "XBAG-d990183ea2b1476a9c1122bbdcf70189"
}
}
}'