Shopping Links Search
Use the deep link service to generate valid deep links to portal booking process. The API will construct a correctly formatted deep link with all the necessary parameter encryption to the booking engine of respective Lufthansa Hub Airlines.
This service accepts same search parameters and same encryption logic for all the Lufthansa Hub Airlines. Hence the target URL alone would be different for each Airlines. Below target URLs would be used to generate deeplinks specific to airlines based on search parameters.
The target URL for the deeplink is tenant specific as follows:
- LH: https://www.lufthansa.com/deeplink/partner
- LX: https://www.swiss.com/deeplink/partner
- OS: https://www.austrian.com/deeplink/partner
- SN: https://partner.brusselsairlines.com/deeplink/partner
FFP Deep Links - Shopping Links Search
FFP deep links will lead you/your customer to the flight selection screen in respective Lufthansa Hub Airlines websites.
FFP Request URI
Code snippet: URL
/v2/customer-deeplinks/shopping-links/search?airlineCode={airlineCode}&originCode={originCode}&destinationCode={destinationCode}&travelDate={outboundDate}[&returnDate={returnDate}][&cabinClass={cabinClassCode}][&travelers=([adult={numberOfPassengers}];[child={numberOfPassengers}];[infant={numberOfPassengers}]&[partnerId={partnerID}][&encrytpionKey{encryptionKey}]&partnerName={partnerName}&languageCode={language}&countryCode={countryCode}
FFP input parameters
Variable | Description | Format |
---|---|---|
{airlineCode} | Airline Code - LH, LX, OS, SN | 2 letter airline Code of Lufthansa Hub Airline |
{originCode} | Origin airport/city code - Mandatory | 3-letter IATA code, e.g. “FRA”. |
{destinationCode} | Destination airport/city code - Mandatory | 3-letter IATA code, e.g. "MUC". |
{travelDate} | Outbound travel date - Mandatory | yyyy-MM-dd. e.g. '2016-10-27' |
{returnDate} | Return travel date - Optional | yyyy-MM-dd. e.g. '2016-10-27' |
{cabinClass} | Cabin Class Code - Optional | Cabin class: 'economy', 'premium_economy', 'business', first' |
{travelers} | Optional - Number of passengers of the corresponding type - Optional (adult=1 will be used as default) | Two digit number Adult=2 Child=2 Infant=1 |
{partnerId} | Partner identification - Optional | integer e.g.1071 |
{encryptionKey} | Encryption key - Optional | AES key |
{partnerName} | Name of partner - Optional | alpha numeric string e.g. 'MYDummyID' |
{languageCode} | Language code - Mandatory | 2 letter language code e.g. "DE" |
{countryCode} | Country code - Mandatory | 2 letter country code e.g. "DE" |
Request Examples
Code snippet: Call
/v2/customer-deeplinks/shopping-links/search?airlineCode=LH&originCode=FRA&cabinClass=Economy&countryCode=de&partnerId=13100&encryptionKey=C49A99BBF61C2992A14E60D3F21ABCF&travelDate=2016-10-12&returnDate=2016-11-12&languageCode=de&travelers=(adult=3;child=2;infant=1)&partnerName=dummy
Key | Description |
---|---|
deepLinkResponse | Root element |
.deepLinks | |
..deepLink[] | Array repeat for each deeplink |
...@id | Unique id |
...@type | Type of link. Format: "booking-<AirlineCode in small case>". Example: "booking-lh" |
...@link | Encrypted booking deeplink for provided sensitive data. |
Response Examples
"deepLinkResponse": {
"deepLinks": {
"deepLink": {
"@id": "c1c81679500052b0",
"@type": "booking-lh",
"@link": "https://www.lufthansa.com/deeplink/partner?partnerId=13701&Language=en&Country=de&ENC=86bd58eedeffeda1d5bab325236fa77d2f3e40bd7344e4153636149e99558bb1ad68df08f59d110f75bcb7a4ff42d5ffa17eff0301b68d6fbbe831c14fa0a7afebff0e3fb4474a3bee79cddcaae93f21567ea26126bdbef06c5dfe97eeaf08d625cb4c8b077063e74051d42faacf72dc8c68dc91d0e7ef043059d93b7761ebd181e01b9c2e8da56833684ec22338de875f64173bf20c276a1259f7282920405573172dfc9656930f3cfe03c278af784f85d44d40522a51dd170e75bbd10eefad93686c349c25d66de1ad7bfb7fcce1fe&dwmwr=utm_medium%3Dfse%26utm_source%3DKayak%26utm_term%3DKayak%26utm_campaign%3Dlh_de_en_fra-mad_desktop"
}
}
}
}
Docs Navigation
- Lufthansa Open API
- Getting Started
- Public API Method Details
- Flight Schedules
- Reference Data
- Offers
- Operations
- Flight Schedules
- Flight Status
- Flight Status by Route
- Flight Status at Arrival Airport
- Flight Status at Departure Airport
- Flight Status Response
- Customer Flight Information
- Customer Flight Information at Arrival Airport
- Customer Flight Information by Route
- Customer Flight Information at Departure Airport
- Customer Flight Information Response
- Notifications
- cargo
- Partner API Method Details
- FlightOps/Crew API Method Details