All Fares
Retrieves all available fares for a specific Origin & Destination pair on a given date. Available fares are: One-way and Return for 4U. Return only for OS
Request
- Base URLhttps://api.lufthansa.com/v1
- AuthOAuth 2Client credentialsToken URLhttps://api.lufthansa.com/v1/partners/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Specifies in which catalogue the fares need to be searched (e.g.'4U;OS').
Enter journey origin (e.g 'FRA').
Enter journey destination (e.g 'MAD').
Enter journey travel-date (e.g 2016-10-20)
Enter journey return-date (e.g 2016-10-31)'.
Enter the required cabin class (e.g econonmy, business etc.). (Acceptable values are: "", "economy", "premium economy", "business", "first")
Specifies the type and number of travelers (e.g. '(adult=2;child=2;infant=1)') For LH only (adult=1) possible.
Mandatory for 4U. Specifies, which fares to be returned, such as basic, smart, best, smartflex, bestflex . (Acceptable values are: "", "basic", "smart", "best", "smartflex", "bestflex")
Austrian Airlines only - specify the web tracking id to be used in OS Deep link.
Headers
Mandatory http header: application/xml or application/json
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.