Hello,
These queries:
https://hotels4.p.rapidapi.com/properties/list?currency=CAD&locale=ru&sortOrder=PRICE&destinationId=1709894&pageNumber=1&checkIn=2021-10-18&checkOut=2021-10-24&pageSize=25&adults1=1&priceMin=50&priceMax=200
https://hotels4.p.rapidapi.com/properties/list?currency=CAD&locale=ru&sortOrder=PRICE&destinationId=1709894&pageNumber=56&checkIn=2021-10-18&checkOut=2021-10-24&pageSize=25&adults1=1&priceMin=50&priceMax=200
https://hotels4.p.rapidapi.com/properties/list?currency=CAD&locale=ru&sortOrder=PRICE&destinationId=1709894&pageNumber=57&checkIn=2021-10-18&checkOut=2021-10-24&pageSize=25&adults1=1&priceMin=50&priceMax=200
return the same hotel list. It worked a while ago for sure, but now for any pageNumber we get the same result.
Could you take a look what we are doing wrong?
Regards,
Ian Lipliavyi
Join in the discussion - add comment below:
Hello,
It seems like the update has changed the response, there is no thumbnail image returned. I don’t know why hotels.com did this. You need to use …/properties/get-hotel-photos to get photos instead.
Regards.
Hello,
One more question is possible.
A while ago “properties/list” had a field ThumbnailUrl for each hotel, but now it’s disappeared.
Could you check, probably it can be restored?
Regards,
Ian Lipliavyi
Thank you for help,
I found out the problem is - a destination type you get from “locations/search” should have type “CITY”. Probably “AIRPORT” I did not test it yet. In this case everything works fine.
Regards,
Ian Lipliavyi
Hello,
Thank you for your information. Our IT team confirmed that there was a small update made by Hotels.com causing the issue. The team released a hot fix for it, you may test again now.
Regards.