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 4 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 6 months ago
Can I get the public URL of a property through the API v2?
Hi there,
I am checking this endpoint v2/properties and I am wondering how I can get the public URL of a property.
Is that possible out of the box?
Thank you
Posted by Miguel Garrido Iglesias 8 months ago
Display
I see this is fetching but how do I display the content? I'm trying to display the property details on a page. I see is calling properly but how do I display?
Here is what I am using:
const options = {
method: 'GET',
headers: {
Accept: 'text/plain',
'X-ApiKey': 'qL9Oq******************************************'
}
};
fetch('https://api.lodgify.com/v1/properties/XXXX', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Posted by Evie 11 months ago
Can I get reviews of a property with API?
Please let me know if it is possible to retrieve reviews of a property?
Posted by Trang Dev 11 months ago
How to get policies being applied for a Property?
I would like to ask which API request which I can use to retrieve information of a Property's polices such as: Payment schedule, Cancellation policy, Damage deposit
Posted by Trang Dev 11 months ago
Multi unit properties
Hi currently I have a test account and all the properties I created are single unit properties.
if I have a multi unit properties, which API end point I should use to get the units info?
I am confused about. v2/properties/{id}/rooms. initially I assumed this would be the endpoint that return the units data, but looking at the response, most of the "Room" fields are identical to the Property fields.
and if v2/properties/{id}/rooms isn't the right endpoint to retrieve the units info...then what does "room" exactly mean here!
Lastly can a single unit property have more than one roomtype/ "room" ?
Posted by [email protected] 12 months ago