Air

Edit specific traveler information in an existing PNR. This API allows you to edit and modify Special Service Requests (SSR), seat selection, loyalty number, ancillaries, redress number, Known Traveler Number (KTN), check-in preferences, and Other Service Information (OSI).

post/v2/air/pnrs/{pnrId}/update

Request

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

Path parameters

pnrIdstring required

PNR ID created by Spotnana for the booking.

Request body

pnrIdstring required

PNR ID created by Spotnana for the booking.

seatMapResponseIdstring

The seatMapResponseId generated using the Get flight seat map API. This field is only required if the seat selection is being changed for the traveler.

pnrUpdateTypesstring[]

Example request

{
  "pnrId": "1234567890",
  "seatMapResponseId": "8bc4ec0e1839aabc",
  "pnrUpdateTypes": [
    "OTHER_SERVICE_INFO"
  ],
  "travelerInfo": [
    {
      "traveler": {
        "travelerId": "1",
        "travelerInfo": {
          "userOrgId": {
            "userId": {
              "id": "8ec7ef81-e314-4b2a-ad62-9157262aeb11"
            },
            "organizationId": {
              "id": "5ec7ef81-e314-4b2a-ad62-9157262aeb11"
            },
            "organizationAgencyId": {
              "id": "2ec7ef81-e314-4b2a-ad62-9157262aeb11"
            },
            "tmcInfo": {
              "id": {
                "id": "2ec7ef81-e314-4b2a-ad62-9157262aeb11"
              },
              "primaryServiceProviderTmc": {
                "tmcId": {
                  "id": "2ec7ef81-e314-4b2a-ad62-9157262aeb11"
                }
              },
              "secondaryServiceProviderTmcs": []
            },
            "tmcBasicInfo": {
              "contractingTmc": {
                "id": {
                  "id": "2ec7ef81-e314-4b2a-ad62-9157262aeb11"
                }
              },
              "bookingTmc": {
                "id": {
                  "id": "2ec7ef81-e314-4b2a-ad62-9157262aeb11"
                }
              }
            }
          }
        }
      },
      "seats": [
        {
          "flightIndex": 1,
          "seatNumber": "10A"
        }
      ],
      "specialServiceRequests": [
        {
          "flightIndex": 1,
          "code": "SPML",
          "info": "Special meal without egg."
        }
      ],
      "updateTypes": [
        "SPECIAL_SERVICE_REQUEST",
        "SEAT"
      ]
    }
  ]
}

Response

Success

Example response

{
  "paymentVerificationInfo": {
    "stripeVerificationInfo": {
      "stripeCardTokens": {
        "paymentProcessor": "STRIPE",
        "paymentMethodId": "pm_1HzKDPI3bT9GUjvoUkRQooN3",
        "setupIntentClientSecret": "seti_1IBwEiKXFM6BpWYhfdCGZ7sg_secret_InXJDifWGBcVqekJvhAxidON6vHAvfS",
        "connectedAccountId": "acct_1NT8oyCZnFgI0lFY",
        "publishableKey": "pk_test_51Hx7XyI3bT9GUjvoUkRQooN3"
      }
    }
  }
}

Changes

    • info

      added the new DELAYED_PAYMENT enum value to the request property //////////

    • info

      added the new DELAYED_PAYMENT enum value to the request property ////////////

    • info

      added the new optional request property /////////

    • info

      added the new optional request property /////////

    • info

      added the new optional request property //////////

    • info

      added the new optional request property //////////

    • info

      added the new optional request property //////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ///////////

    • info

      added the new optional request property ///////////

    • info

      added the new optional request property ///////

    • info

      added the new optional request property //////////

    • info

      added the new optional request property //////////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////