POST/v1/flights/loyalty-programmes

Search loyalty programmes

Searches airline loyalty programmes by name for incremental search and passenger form autocomplete.

Searches airline loyalty programmes by name for incremental search and passenger form autocomplete.

Endpoint

MethodPathAuth
POST/v1/flights/loyalty-programmesRequired API key
Required headers:
HeaderDescription
AuthorizationBearer <secret_key>. The secret is shown only once when the credential is created.
X-Travelandz-Id<public_key>:<profile_code>. The profile_code is the dp_-prefixed Developer Profile code shown in your dashboard. This binds the request to a profile and credential.
Content-TypeUse application/json for requests with a body.

Request Body Schema

PropertyTypeDetailsRequiredNotes
namestringYes-

Success Response

Returns matching loyalty programmes.

Response Body Schema

PropertyTypeDetailsRequiredNotes
arrayYes-
loyaltyobjectYes-
idstringYes-
namestringNo-
owner_airline_idstringNullable-
airlinearrayYes-
idstringYes-
namestringYes-
iata_codestringNullable-
logo_symbol_urlstringNullable-
logo_lockup_urlstringNullable-
conditions_of_carriage_urlstringNullable-