Lufthansa Partner
Lufthansa Partner is an API service for Lufthansa partners to access airline-related data and services.
- Base URL:
https://api.lufthansa.com/v1 - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
https://api.lufthansa.com/v1/partners/oauth/tokenusing yourclientId/clientSecret, then calls the API.
Operations
baggage_trip_and_contact— GET /baggage/baggagetripandcontact/{searchID} — Baggage Trip and Contactall_fares— GET /offers/fares/allfares — All Faresbest_fares— GET /offers/fares/bestfares — Best Faresdeep_links— GET /offers/fares/deeplink — Deep Linkslh_deep_links_ffp— GET /offers/fares/deeplink/ffp — LH Deep Links - FFPlh_deep_links_itco— GET /offers/fares/deeplink/itco — LH Deep Links - ITCO
Inputs
clientId/clientSecret— your lufthansa-partner OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: baggage_trip_and_contact
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for lufthansa-partner. |
clientSecret |
string | yes | — | OAuth client secret for lufthansa-partner. |
operation |
string | yes | — | One of: baggage_trip_and_contact, all_fares, best_fares, deep_links, lh_deep_links_ffp, lh_deep_links_itco |
scope |
string | no | read:LH Open API |
OAuth scopes (space-separated); default from the spec. |
searchID |
string | no | — | Path parameter searchID (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |