Discussions
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 5 months ago
Answer messages
Hi, can I use the API to answer unread messages that the client sent me in the inbox.
Posted by Virgile 5 months 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 6 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 7 months ago
Payments methods
Can I add a new payment method using API
Posted by Kyle Eastman 8 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 10 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 11 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 11 months ago
Why does create booking result in "Value cannot be null. (Parameter 'source')" ?
When I send a create booking request with the following body: (I removed the property_id for this question)
'{
"source":"Manual",
"arrival":"2022-07-11",
"departure":"2022-07-13",
"property_id":######,
"source_text":"Website"
}'
I get this response:
message": "Value cannot be null. (Parameter 'source')",
Posted by Alex Magee 11 months ago
Booking Endpoints
Hi
Are the dates / time return by Booking Endpoints local to the property time zone or are they UTC date/time ?
Posted by [email protected] 12 months ago