Discussions
Rooms vs Room Types
In the context of webhooks, please could someone clarify what "roomtype" is? Is it a type of room (of which there could be many bookings at the same date/time with the same roomtype if the property has lots of the same type of room) or is it an actual instance of a specific room?
room_type_ids > Identifiers of the roomtypes
Posted by Maddie about 15 hours ago
Regarding Lodgify API
hi there,
It will be great if you update the API, "get bookings" (GET /v2/reservations/bookings) endpoint
1 - need ability to filter bookings by Property Id
2 - need ability to find bookings starting from a given arrival date (the "arrival" property), it should work like "updatedSince" param
Currently, we are fetching all your bookings and do filtering on our side, which is not a good solution.
Posted by Nauman Shahzad 20 days ago
Answer messages
Hi, can I use the API to answer unread messages that the client sent me in the inbox.
Posted by Virgile 24 days ago
Retrieve all checkouts for a period
Hi,
I would like to retrive a list of all checkouts for a specific date. Which API function should I use?
The usage scenario that I am trying to develop is:
- Create a list of all checkouts for today, or for a date range, such as the upcoming 7 days.
- Display the properties' names.
I want to be able to keep track of which apartments to clean for the next week.
I also would like to know when (what date ) the next guest is checking in to these apartments.
Thanks in andvance
Posted by [email protected] 27 days ago
API endpoint timeouts
I'm accessing the API with my PHP code and cURL. All works fine, but multiple times a day my requests are timing out. cURL Request timeout is set to 20 seconds, which I think is reasonable.
These endpoints get timeout:
v1/properties/*
v1/availability/*
If the requests are successful, the response is usually returned in 300-1000 milliseconds.
Anyone experienced this? Maybe I'm doing something wrong with my request?
Posted by [email protected] 29 days ago
Search booking by external locator and/or other filters
Hi,
Would it be possible get a booking filtering by its external locator and entrance date?
I see that the booking object has not a field to handle its external locator(booking.com, expedia, etc) in case it has.
Thank you in advance.
Best regards,
Posted by Xavi Gómez Ortega about 1 month ago
Issues related to Rategenie and Lodgify
There are few issues that we need help with. We are performing some tests on stage and we are seeing
that we cannot push rates with your API.
Request example:
curl --request POST \
--url https://api.lodgify.com/v1/rates/savewithoutavailability \
--header 'Content-Type: application/json' \
--header 'X-ApiKey: ........' \
--data '{
"property_id": 402102,
"room_type_id": 468018,
"rates": [
{
"is_default": false,
"start_date": "2022-12-02",
"end_date": "2022-12-03",
"price_per_day": 777,
"min_stay": 1,
"max_stay": 1
},
{
"is_default": true,
"price_per_day": 100,
"min_stay": 1,
"max_stay": 2
}
]
}'
Response is 400
{
"message": "Cannot get data from /api/v1/rates/external/402102. The endpoint responded with: {\"success\":false,\"statusCode\":\"UnauthorizedIAMException\",\"message\":\"Permission denied.\"}",
"code": 666,
"correlation_id": "0HMMJFP5FLEGE:00000099",
"event_id": "00000000000000000000000000000000"
}
----------------------
Secondly,
when we are trying to get rates/calendar:
curl --request GET \
--url 'https://api.lodgify.com/v2/rates/calendar?houseId=402102&roomTypeId=468018&startDate=2022-12-01&endDate=2023-12-01' \
--header 'X-ApiKey: ....'
we are getting 400 Bad Request with body:
{
"message": "No result was found.",
"code": 666,
"correlation_id": "0HMME4PMP2HBR:0000001B",
"event_id": null
}
Probably it means that there are no rates yet.
However, the request itself is not bad, the response code should not be 400 in this case.
Can Lodgify return 404 or (much better) 200 with an empty array of objects in this case?
Regards,
Posted by Nauman Shahzad about 2 months ago
How can I handle languages
Hi,
I'm working on an integration of the API on a multi-language website and I'd like to know how, with the api, can I differenciate the content based on the lang.
Thank you for your help,
Simon
Posted by Simon about 2 months ago
How can I get the API occupancy charge?
I have added that after a certain number of guests there will be a charge of a certain amount of money. But when I want to get information of the prices per day it does not return me the price of a certain charge. I also don't see the possibility to pass by GET the number of guests, how can I get it?
Posted by David 2 months ago
Questions about the API
Hi, I have some questions about the API
1) Is there any way to close dates for a property with the API? (I know you can do it manually through the web page). If not that should be considered.
2) on GET Bookings in the inbox there is a string field to filter by status. In other API calls when the string field is an ENUM on the document about that call you show a select with the available options but on GET bookings there isn't
3) What's the difference between
https://api.lodgify.com/v1/reservation
https://api.lodgify.com/v1/reservation/not_read
When does a reservation go from not read to read?
4) Could you explain what this endpoint is for? GET
https://api.lodgify.com/v1/channel/xml
5) Why there isn't any endpoint for properties to change data about them? (availability, description, etc)
Posted by Ginés Sanz Sanchis 3 months ago