Skip to content

Add Remark

Request

This endpoint provided adding third party remarks to the given PNR.

Security
Bearer
Path
tripIdstringrequired

Trip ID

Example:6926658168
pnrIdstringrequired

PNR ID

Example:6926658168
Bodyapplication/jsonrequired
remarksArray of any(ThirdPartyPnrRemark)required

The list of remarks to be added to the give PNR.

curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v3/trips/6926658168/pnrs/6926658168/remarks \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "remarks": [
      {
        "sabre": {
          "type": "GENERAL",
          "text": "PREF ALLIANCES 1-ONE WORLD/AA",
          "legIndex": 1,
          "flightIndex": 0
        }
      }
    ]
  }'

Responses

OK

Bodyapplication/json
processedRemarksArray of any(ThirdPartyPnrRemark)

The list of remarks added to the given PNR.

ignoredRemarksArray of any(ThirdPartyPnrRemark)

The list of remarks ignored.

Response
{ "processedRemarks": [ { … } ], "ignoredRemarks": [ { … } ] }