APIs to manage trips and PNRs.
curl -i -X GET \
https://apis.spotnana.com/v2/trips/1234567890/pnrs/6926658168/cancellation-details \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "pnrId": "1234567890", "tripId": "2345678901", "cancellationDetails": { "air": { … } } }
curl -i -X GET \
'https://apis.spotnana.com/v2/pnrs?externalId=external-pnr-id' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "pnrId": "1234567890", "tripId": "1234567890" }
curl -i -X GET \
'https://apis.spotnana.com/v2/pnrs/search?inputType=SOURCE_PNR&searchText=MDIB5C' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "pnrId": "1234567890", "tripId": "1234567890" }