Discussions
Sandbox environment
Hi!
We would like to add an integration with the API but is there any sandbox / testing environment available (for each account or global)?
Thanks
Posted by Carles 3 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 3 months ago
Payments methods
Can I add a new payment method using API
Posted by Kyle Eastman 4 months ago
Add messages to a booking sync problem
Hi,
if I post a message usinng API (https://api.lodgify.com/v1/reservation/booking/{id}/messages), the message is visible in Longify. But it does not have that green check icon 'The message was succesfully sent' and it is not synchronized with Airbnb etc.
It works only like if posted directly from chat window.
Looks like that 'subject' is not passed correcly.
call:
{
"subject": "test",
"message": "test",
"type": "Owner"
}
response:
{
"subject": null,
"message": "test",
"type": "Owner",
"is_replied": true,
"created_at": "2022-08-09T13:14:47"
}
thanks
Posted by Martin Pokorny 6 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 6 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 7 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 7 months ago
How to pass array of object roomTypes when get info of a quote?
The response says "Cannot get data from api/v1/rates/calculate. The endpoint responded with: RoomTypesSettings must be provided." when I try to get detail information of a quote.
I tried some syntax to pass the array of objects through this GET request:
https://api.lodgify.com/v2/quote/279715?arrival=2022-07-01&departure=2022-12-31&roomTypes=[{id: "342405", people: 2}]
Please show me what is the corrent way, thanks.
Posted by Trang Dev 7 months ago
How to get check-in, check-out times of a property?
I cannot find check-in, check-out times of a property (and its rooms) with API, please advise.
Posted by Trang Dev 7 months ago
Create a booking with a quote
With the POST https://api.lodgify.com/v1/reservation/booking I am importing reservations from our previous pms system. When trying to transfer the payment data like total amount of the booking and the prepaid amount I do not find how to add it here. Neither to "Total" amount nor any other payment data are shown in the booking after the post.
How to handle that? What did I get wrong?
Posted by Milan Lukas Reimann 7 months ago