Discussions
where do I get a room id if I have no room linked to a property?
23 days ago by Victor
Trying to block dates via the API, so far got:
- "Create an enquiry" that works but no impact on calendar
{
"guest": {
"name": "TOH"
},
"source_text": "string",
"source_address": "string",
"arrival": "2023-11-08T16:37:36.049Z",
"departure": "2023-11-09T16:37:36.049Z",
"people": 0,
"property_id": 504836,
"room_type_id": 0,
"status": "booked"
}
And when trying to work on "Create a booking", I get the 666 error
{
"guest": {
"name": "string"
},
"source_text": "string",
"arrival": "2023-11-08T22:22:23.265Z",
"departure": "2023-11-09T22:22:23.265Z",
"property_id": 504836,
"status": "Booked",
"rooms": [
{
"room_type_id": 1,
"people": 1
}
],
"total": 1000,
"currency_code": "EUR"
}
{
"message": "Rates are incomplete for property '504836', room type(s): '1'.",
"code": 666,
"correlation_id": "0HMUUPTD4JJU5:00000089",
"event_id": null
}
--
Would greatly appreciate some guidance on how to navigate your API, thanks.