Booking.com

GRATIS CON POSSIBILITÀ DI UPGRADE
Da Things4u | Aggiornamento 10 दिन पहले | Travel
Popolarità

9.3 / 10

Latenza

2,916ms

Livello di servizio

100%

Health Check

N/A

Torna a tutte le discussioni

Get Price for every room type

Rapid account: Mikekoulouras
mikekoulouras
एक वर्ष पहले
Hello, 
how can I get the price/night for every room type of a hotel?
Rapid account: Mikekoulouras
mikekoulouras Commented 10 महीने पहले

You are awesome, thank you very much!

Rapid account: Ntd 119
ntd119 Commented 10 महीने पहले

Hi,

I have just updated the API.
To retrieve the price, you should use the stays/properties/detail endpoint, Is is “Prices” item in response.

You need to call the stays/properties/list endpoint to retrieve the idDetail and use it in the stays/properties/detail endpoint.

To get the correct price, the checkin_date, checkout_date input for stays/properties/detail must equal the checkin_date,checkout_date in the stays/properties/list endpoint
Thank you for contributing to the API,

Thanks

Rapid account: Ntd 119
ntd119 Commented 10 महीने पहले

Hi,

I understand. I am currently checking it and will respond as soon as possible. I apologize for any inconvenience.

Thanks.

Rapid account: Mikekoulouras
mikekoulouras Commented 10 महीने पहले

Hello,

I want to view the prices for every room type of a hotel, not just the “displayPrice”.
e.g.

  • Hotel 1
    • Double Room: 40€
    • Triple Room: 60€
  • Hotel 2
    • Deluxe Suite: 100€
    • Junior Suite: 120€

I am using “stays/properties/list” with check-in and check-out date in the future but I only get one price for each hotel.

Thanks.

Rapid account: Ntd 119
ntd119 Commented 10 महीने पहले

Hi,

How do you want to get the prices for each room type? Could you provide a more detailed description?
If possible, could you share the parameters you use when calling my API?

Thanks.

Rapid account: Mikekoulouras
mikekoulouras Commented 10 महीने पहले

Hello, I have done that but still I don’t get the prices for each room type. I can only see the “displayPrice”.

Can you please tell me exactly where I can find the other prices?

Thanks.

Rapid account: Ntd 119
ntd119 Commented एक वर्ष पहले

Hi,

The checkin_date and checkout_date must be provided and greater than or equal to the current date.
You can try again

Thaanks

Rapid account: Mikekoulouras
mikekoulouras Commented एक वर्ष पहले

Thanks for the fast response.

I still don’t get in the response the price/night for every room type of each hotel but only one price (displayPrice).

Can you tell me which field should I search?

Thanks,

Rapid account: Ntd 119
ntd119 Commented एक वर्ष पहले

Hi,

I have just updated the stays/properties/list endpoint.
You can use it now, and if any errors occur, please let me know.

Thanks

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti