Skip to main content
POST
/
v1
/
exchange_shop
Shop for flight exchange alternatives
curl --request POST \
  --url https://api.example.com/v1/exchange_shop \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "booking_ref": "JNK-A0AUR2",
  "last_name": "Carrard"
}
'
{
  "support_level": "full",
  "offers": [
    null
  ],
  "warnings": [
    "<string>"
  ]
}
List the alternative itineraries available to swap a booked flight onto. Pick one and price it with exchange price.

Authorizations

X-API-Key
string
header
required

Body

application/json
booking_ref
string
required
Example:

"JNK-A0AUR2"

last_name
string
required
Example:

"Carrard"

ticket_numbers
string[]
provider
string
segments_to_exchange
null[]
preferred_departure_date
string

Response

Shop for flight exchange alternatives

support_level
string
Example:

"full"

offers
null[]
warnings
string[]