Pricing


This method is used to check price and availability before making the book

you have the possibility to quote and check availability for travel solution selected before you book

If the carrier have cache availability out of date the pricing could return price difference or some error but

Lleego applies the lastest technologies to minimize errors , delivering reliable results and increasing bookability

 

Pricing Basic example

 

  • token use same token returned on Avail response

  • TravelID= Solution ID returned on Avail response that you selected to quote and get the price

  • Journey= Journey asociation into Solution ID selected

 

https://api.lleego.com/api/v2/transport/pricing ?token=your-token &format=json &travelID=895d78c6cd994d2 &journey0=AY400720191117 &journey1=AY400820191130

 

Pricing resident discount

 

Special discount 75 % for Spanish or European Community members who legally reside on Canary or Balearic Islands and Ceuta or Melilla

 

Resident parameter on pricing

 

Examples

resident=BL Balear discount

resident=CN Canary discount

Resident= ML Melilla discount

resident=CE Ceuta discount

 

Resident URL

 

Residentes

 

Pricing OW

 

"id": "Bb61c31ef3313610006", 3 "providers": [ 4 { 5 "context": 0, 6 "id": "1A", 7 "sourceId": "Bb61c31ef3313610006" 8 } 9 ], 10 "time_limits": { 11 ..... 12 }, 13 "total_price": { 14 ..... 15 }, 16 "data": { 17 "fare_list": [ 18 ..... 19 ], 20 "associations": [ 21 { 22 "provider": "1A", 23 "origin_destination_references": [ 24 "MADPMI" 25 ], 26 "journey_references": [ 27 "IB381020220901@IB852320220901", 28 "IB380420220901@IB851120220902" 29 ],

 

The OW pricing may have two journeys but you should indicate only 00 at the begining of journey

This is the following xamples for OW pricing taken in account the following journey combinations

 

"IB381020220901@IB852320220901",

"IB380420220901@IB851120220902"

 

 

Pricing RT

In RT Pricing you must to add 00 at the begining of first journey and 01 an the begining of the second journey

 

  • https://api.lleego.com/api/v2/transport/pricing?token=your-token&format=json &travelID=895d78c6cd994d2&journey00=AY400720191117&journey01=AY400820191130

     

 

Corporate fares

Important : Is not neccesary to add any corporate code or corporate identification on pricing Request because Lleego takes corporate codes and information from configuration of each client ! thanks to our advance technologies

 

Important advice on pricing secure flight

 

We return on pricing response the parameter need_doc_apis to know if the reservation need additional information on BOOK method

USA and other countries may required DOCS DOCA and its additional information related Passport or DNI expiration , issuance country , issuance date , etc

 

 

}, "provider": "NDC Iberia", "provider_id": "IB", "need_doc_apis": 1, "need_ruc": false, "need_ctcl": { "show": false, "require": false

 

 

** PARA RESIDENTES** Utilizamos el ID del pricing para el booking, utilizando la numeracion_resident