Hi, I can’t to use properties/v2/list with filters -> star the response is not correctly.
ex. body
{
“currency”: “THB”,
“destination”: {
“regionId”: “604”
},
“checkInDate”: {
“day”: 10,
“month”: 3,
“year”: 2023
},
“checkOutDate”: {
“day”: 11,
“month”: 3,
“year”: 2023
},
“rooms”: [
{
“adults”: 2,
“children”: []
}
],
“resultsStartingIndex”: 0,
“resultsSize”: 10,
“filters”: {
“star”: [
“30”
]
}
}
and some response show “star”: null and hotel is actually is 4-star hotel in hotels.com. Please kindly check this api.
Присоединяйтесь к обсуждению – добавьте комментарий ниже:
Hello,
It was weekend, and we were syncing the new system between server nodes. Your requests might fall back to the servers with old system so it caused the issue. Please being patient and try again.
Regards.
The properties/v2/list is response “star”: null again. Please re-check this api again.
Hello,
You may try this body request :
{
“siteId”:300000046,
“locale”:“en_GB”,
“currency”: “THB”,
“destination”: {
“regionId”: “604”
},
“checkInDate”: {
“day”: 10,
“month”: 3,
“year”: 2023
},
“checkOutDate”: {
“day”: 11,
“month”: 3,
“year”: 2023
},
“rooms”: [
{
“adults”: 2,
“children”: []
}
],
“resultsStartingIndex”: 0,
“resultsSize”: 10,
“filters”: {
“star”: [
“30”
]
}
}
Regards.
Thanks. It works but I got another error response. The currency in response doesn’t change when I change currency.
Hello,
Thank you! You are right, there was an issue sending the filter by “star” to the server. The IT team just fixed it, you may try again now.
Regards.