- DATE:
- AUTHOR:
- The Duffel team
API
Stays
We now expose public pricing information for Duffel Stays Rates
DATE:
AUTHOR:
The Duffel team
We have released an update to Duffel Stays Rates which adds two new properties: public_amount and public_currency.
This is the reference price of this rate as it appears publicly on the source Online Travel Agent or Hotel website. If it matches the total_amount for the rate, then the rate you have is a public rate. If it is greater than the total_amount, then you have a discounted rate, meaning you can ensure you can communicate to your users they are getting a good deal!
It can be displayed to encourage users to book cheap rates, or used in more advanced rate selection logic specific to your product.