Spotnana Trip PNRs API

APIs to manage PNRs within trips.

GitHub OpenAPI

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v3/trips/{tripId}/pnrs Create a booking PNR · Create PNR #
Ask an LLM
“How do I import a booking made outside Spotnana into a trip?”
“Can I create a hotel or car PNR for a trip?”
Tell an agent
Create a PNR for trip {tripId} with travelers {pnrTravelers}.
Import booking {sourceInfo} into trip {tripId} as a PNR.
GET /v3/trips/{tripId}/pnrs/{pnrId} Get a PNR for a trip · Get PNR #
Ask an LLM
“What are the details of a booking PNR on a trip?”
“Can I fetch one PNR by its ID?”
Tell an agent
Get PNR {pnrId} on trip {tripId}.
Show the booking details for PNR {pnrId} in trip {tripId}.
PUT /v3/trips/{tripId}/pnrs/{pnrId} Update a PNR · Update PNR #
Ask an LLM
“How do I change the travelers on a booking PNR?”
“Can I update the cost of goods sold on a PNR?”
Tell an agent
Update PNR {pnrId} on trip {tripId} with travelers {pnrTravelers}.
Change the cost of goods sold on PNR {pnrId} in trip {tripId} to {costOfGoodsSold}.
POST /v3/trips/{tripId}/pnrs/{pnrId}/remarks Add a remark to a PNR · Add Remark #
Ask an LLM
“How do I add a third-party remark to a booking PNR?”
“Can I attach notes to a PNR?”
Tell an agent
Add remarks {remarks} to PNR {pnrId} on trip {tripId}.
Attach note {remarks} to booking PNR {pnrId} in trip {tripId}.
POST /v3/trips/{tripId}/pnrs/{pnrId}/finalize Finalize a PNR · Finalize the given pnr #
Ask an LLM
“How do I finalize a booking PNR so suppliers are notified?”
“Can I set a finalize intent when finalizing a PNR?”
Tell an agent
Finalize PNR {pnrId} on trip {tripId}.
Finalize PNR {pnrId} in trip {tripId} with intent {finalizeIntent}.
POST /v3/trips/{tripId}/pnrs/{pnrId}/suspend Suspend a PNR · Suspend the given pnr #
Ask an LLM
“How do I suspend a PNR so updates via OBT are restricted?”
“Can I record a reason when suspending a booking PNR?”
Tell an agent destructive · confirm first
Suspend PNR {pnrId} on trip {tripId} because {reason}.
Put booking PNR {pnrId} in trip {tripId} into read-only.
POST /v3/trips/{tripId}/pnrs/{pnrId}/cancel Cancel a PNR · Cancel PNR #
Ask an LLM
“How do I cancel a booking PNR?”
“Can I cancel just part of a PNR, like one journey?”
Tell an agent destructive · confirm first
Cancel PNR {pnrId} on trip {tripId}.
Cancel PNR {pnrId} in trip {tripId} with cancellation type {cancellationType}.
GET /v2/trips/{tripId}/pnrs/{pnrId}/cancellation-details Get cancellation details for a PNR · Get cancellation details #
Ask an LLM
“What are the cancellation details for a booking PNR?”
“Can I see refund details after a PNR was canceled?”
Tell an agent
Get cancellation details for PNR {pnrId} on trip {tripId}.
Show refund details of PNR {pnrId} in trip {tripId}.
POST /v2/trips/{tripId}/pnrs/{pnrId}/download-invoice Download a PNR invoice · Download PNR invoice #
Ask an LLM
“How do I download the invoice for a booking PNR?”
“Can I get an invoice for a PNR on demand?”
Tell an agent
Download the invoice for PNR {pnrId} on trip {tripId}.
Get the PNR invoice for booking {pnrId} in trip {tripId}.
POST /v2/pnrs/{pnrId}/process-approval Approve or decline a PNR · Process the PNR approval #
Ask an LLM
“How do I approve a booking PNR?”
“Can I decline a PNR that needs approval?”
Tell an agent
Approve PNR {pnrId} with response {approvalType}.
Decline PNR {pnrId} with response {approvalType}.
GET /v2/pnrs Find a PNR by external ID · Get PNR by external Id #
Ask an LLM
“How do I find a PNR using an external booking ID?”
“Can I get a trip ID from an external PNR number?”
Tell an agent
Find the PNR and trip for external ID {externalId}.
Look up PNR {externalId} and return its trip ID.
GET /v2/pnrs/search Search PNRs by vendor confirmation · Find Pnr details like BookingId and TripId #
Ask an LLM
“How do I find a booking PNR by its vendor confirmation number?”
“Can I search PNRs by ticket number?”
Tell an agent
Search PNRs for {searchText} of type {inputType}.
Find the booking PNR with vendor confirmation {searchText} ({inputType}).

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spotnana:spotnana-trip-pnrs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spotnana-trip-pnrs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trip PNRs API
  version: v2
  description: APIs to manage PNRs within trips.
servers:
- url: https://api-ext-sboxmeta.partners.spotnana.com
  description: Sandbox URL
security:
- Bearer: []
tags:


# --- truncated at 32 KB (461 KB total) ---
# Full source: https://artifacts.apis.io/spotnana/openapi/spotnana-trip-pnrs-api-openapi.yml