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 over 1 year ago
How to get the fees with the API
Hi!
I'm using /v2/rates/calendar to get the rates for a specific date ranges.
I have the total which I can calculate, but I don't get any fees (like cleaning fees) neither custom taxes. I have those configured directly in the Lodgify web app.
Is there a way to get those informations using the API ?
Thanks :)
Posted by null about 1 year ago
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 over 1 year ago
Webready integration with Lodgify => Unable to Push Bookings
We have checked the Lodgify API method to create a booking, but it does not work for us. Can you please ask your team to help us that how to create a booking (preferably without prior quote creation)?
request example:
POST /v1/reservation/booking
{
"source": "Manual",
"arrival": "2023-04-15",
"departure": "2023-04-16",
"property_id": 438531,
"guest": {
"name": "usman Javed",
"email": "[email protected]",
"country_code": "PK"
},
"total": 440.0,
"currency_code": "USD"
}
_the response is 500 Internal Server Error:
{
"message": "Value cannot be null. (Parameter 'source')",
"code": 666,
"correlation_id": "0HMPHNJ61PEOT:0000017E",
"event_id": null
}_
**This is the last issue left in the integration.**
Posted by null about 1 year ago
/v2/availability
{
"message": "The added or subtracted value results in an un-representable DateTime. (Parameter 'value')",
"code": 666,
"correlation_id": "0HMODP24UJ18R:000001B5",
"event_id": "00000000000000000000000000000000"
}
Why I get this problem?? Who can help me understand
Posted by null over 1 year ago
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 over 1 year 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] over 1 year ago
/v2/reservations/bookings problem with Declined reservations
I'm doing a request to /v2/reservations/bookings but in the response I don't get reservations with Declined status, how can we get the reservations with this status in endpoint list?
If I do a request with an id (for example /v2/reservations/bookings/5953341) I get the reservation detail successfully, but I don't get the detail in endpoint list /v2/reservations/bookings
Posted by Fernando Marengo about 1 year ago
How can i get the status of the payments
<https://www.mothernaturesinn.com/single-room/?property_id=421117&room_id=487180&arrival=2023-05-01&departure=2023-05-02&guests=1>
Posted by null about 1 year ago
Why doesn´t the function UpdateBooking work?
Hi
We are making a booking site which use this API.. When making a booking, the booking is made in our own page where we get the content from this API and we also use the CreateBooking described in the API to create the booking. This long it will work fine, the available rentals is displayed and the booking is created. But when we are calling the UpdateBooking to set a prepaid amount (the reservation fee paid in our own payment solution). We are setting the property Total_paid to the amount of the reservation fee and will get a response OK. but the amount is not registered in the booking, it still shows the whole amount left to pay.
Why doesn´t the prepaid amount show up as a transaction in th ebooking?
Best regards
Daniel Nilson, Skibar Systems
Posted by Daniel Nilson about 1 year ago