Skip to main content

Reservation Create

POST

/api/v1/generic-api-service/flight/reservation/create

The reservation create endpoint creates a flight reservation for the selected offer(s). It uses the searchId together with the chosen flight/cabin/brand identifiers, passenger details, contact and receipt information, and payment details to generate a booking, and returns the order and issued e-ticket(s). It supports both one-way and round-trip.

curl --location 'https://test-api.etscore.com/api/v1/generic-api-service/flight/reservation/create' \
--header 'Accept-Language: en-US' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"searchId": "5029md2matl3schcom2vbsvk4g7j4vc6",
"clientRef": "EtscoreFlight212",
"checkout": "2026-08-17",
"offers": {
"departure": {
"flightId": "pz-f3b3640e-6059-4267-bc81-114de4aa238c",
"offerId": "XBAG-a86713d6a71445a285ca7267732f1608",
"departureBrandKey": "XBAG"
},
"return": {
"flightId": "pz-f51fb2fb-bb16-40c1-8286-7aeddff29f08",
"offerId": "XBAG-d990183ea2b1476a9c1122bbdcf70189",
"returnBrandKey": "XBAG"
}
},
"contactInfo": {
"email": "[email protected]",
"mobilePhoneNumber": "905000000000"
},
"passengers": [
{
"paxType": "ADULT",
"male": true,
"name": "OMER",
"surname": "ERGAN",
"birthDate": "1990-02-09",
"passportCountry": "TR",
"nationalityIdNo": "<national-id>",
"notTCCitizen": false
}
],
"paymentInfo": {
"paymentType": "Debit",
"totalAmount": "116.50",
"currency": "EUR"
}
}'