Skip to content

Loyalty Programs

Get Loyalty Programs (Air)

Request

Returns all the active loyalty programs for the requested marketing and/or operating airlines.

Security
Bearer
Query
marketingAirlinestring

IATA code of the marketing airline for which the loyalty programs need to be fetched.

Example:marketingAirline=AA
operatingAirlinestring

IATA code of the operating airline for which the loyalty programs need to be fetched.

Example:operatingAirline=BA
travelerIdstring

User ID of the traveler.

Example:travelerId=4974a66b-7493-4f41-908c-58ba81093947
travelArrangerIdstring

User ID of the travel arranger.

Example:travelArrangerId=4974a66b-7493-4f41-908c-58ba81093947
curl -i -X GET \
  'https://api-ext-sboxmeta.partners.spotnana.com/v2/air/loyalty-programs?marketingAirline=AA&operatingAirline=BA&travelerId=4974a66b-7493-4f41-908c-58ba81093947&travelArrangerId=4974a66b-7493-4f41-908c-58ba81093947' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
loyaltyProgramsArray of objects(AirLoyaltyProgram)required
applicableLoyaltiesArray of objects(LoyaltyInfo)
Response
{ "loyaltyPrograms": [ { … } ], "applicableLoyalties": [ { … } ] }