APIs to perform search, checkout and book an air pnr
API reference
/Air
/- Get flight checkout details
Get air itineraries
Get flight attributes
Get selected itinerary
Get Airlines Information (Air)
Get flight seat map
Initiate booking
Validate air itinerary
Validate air itinerary (interim)
Create air pnr
Cancel Air Pnr
Get PNR exchange details
Modify Search
Modify Book
Edit PNR
Get Special Service Requests (SSR)
Get Special Service Requests (SSR) for a Category
Returns the Air Raw Fare Rules for a Segment or Pnr
Get unused credits for a traveler
Get unused credits for a company
Get transferable unused credits for a company
Migrate Unused Credits of a traveler to and fro Company Credits
Get flight checkout detai...
Air API (v2)
Download OpenAPI description
Languages
Servers
Sandbox URL
https://api-ext-sboxmeta.partners.spotnana.com/
Spotnana mock server
https://developer.spotnana.com/_mock/openapi/airapi/
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/airlines-info
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/airlines-info
- curl
- JavaScript
- Node.js
- Python
curl -i -X GET \
'https://api-ext-sboxmeta.partners.spotnana.com/v2/air/airlines-info?includeInactive=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Bodyapplication/jsonrequired
Search id returned in the corresponding air search API response.
Example: "ChBjZDg3ZjRjZmRmMTFm"
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/flight-checkout
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/flight-checkout
- curl
- JavaScript
- Node.js
- Python
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/air/flight-checkout \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"searchId": "ChBjZDg3ZjRjZmRmMTFm",
"itineraryId": "IthBjZDg3ZjRjZmRmMTFm"
}'Response
application/json
{ "checkoutResponseId": "ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z", "baggageInfo": { "baggageSelectionGroups": [ … ] }, "ancillaries": [ { … } ], "mandatoryCheckoutParams": [ { … } ], "airlineCardFees": [ { … } ] }
Bodyapplication/jsonrequired
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/seat-map
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/seat-map
- curl
- JavaScript
- Node.js
- Python
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/air/seat-map \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"itinerary": {
"airItineraryId": {
"searchId": "Xjdks78X",
"itineraryId": "ijdks78X"
}
},
"travelerInfos": [
{
"travelerType": "ADULT",
"travelerAge": {
"numYears": 22
},
"travelerInfo": {
"userId": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
},
"loyaltyInfos": [
{
"flightId": "flight_0",
"loyaltyInfos": [
{
"appliedTo": [
null
],
"id": "firstId",
"issuedBy": "firstIssuedBy",
"type": "AIR",
"linked": false
}
]
}
]
}
],
"indexes": [
{
"legIndex": 0,
"flightIndex": [
0
]
}
]
}'Response
application/json
{ "seatMapResponseId": "seat1234", "travelerSeatMaps": [ { … } ], "seatMaps": [ { … } ] }