Skip to content

Suspend the given pnr.

Request

This endpoint suspends the PNR, transitioning it into a read-only state. Once suspended, updates via OBT will be restricted. This API serves various use cases, such as price optimization and rebooking.

Security
Bearer
Path
tripIdstringrequired

Trip Id

Example:6926658168
pnrIdstringrequired

Pnr Id

Example:6926658168
Bodyapplication/jsonrequired
reasonstring(SuspendReason)required

Reason for suspending the PNR. Determines which finalizeIntent variant is required when finalizing.

  • PRICE_OPTIMIZATION: Unified price optimization reshop (air or hotel). Finalize with priceOptimization (PriceOptimizationMetadata).
  • EXCHANGE: Ticket exchange initiated by agent. Finalize with manualVerificationIntent.
  • GDS_EXCHANGE: GDS-driven ticket exchange. Finalize with manualVerificationIntent.
  • AIR_PRICE_OPTIMIZATION: Deprecated. Legacy air-only reshop. Use PRICE_OPTIMIZATION instead. Finalize with airPriceOptimizationMetadata.
Enum:"AIR_PRICE_OPTIMIZATION""EXCHANGE""GDS_EXCHANGE""PRICE_OPTIMIZATION"
Example:"PRICE_OPTIMIZATION"
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v3/trips/6926658168/pnrs/6926658168/suspend \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "reason": "PRICE_OPTIMIZATION"
  }'

Responses

No Content

Response
No content