Discussions

Ask a Question
ANSWERED

Create an object

How is it possible to create an object in the Lodgify API? When using the Holidu API we can create objects directly from our software using a push command: <https://developer.holidu.com/reference/upsertapartment> Thanks!
ANSWERED

Villas Pricings

Hi, How does Lodgify get prices with API? Why is it obtaining the minimum and maximum prices but not the real pricing from the Lodgify system by villa ID? And how can we get exact price for per night by API.
ANSWERED

Connecting remote access and Lodgify Via API

Hello, I want to connect Lodgify to a provide of smart locks in order to generate dynamic access codes. Does anybody know if I can create a connection between the two APIs that support that? Has anybody ever done anything similar with the API keys?
ANSWERED

message post success, but unresponsive

I am using "add message to booking " via <https://api.lodgify.com/v1/reservation/booking/{id}/messages> where id is a reservation ID in the future. I am the both the guest and the owner of this reservation. The python code is below. The "response" returned is a success code of 200, however no message appears in the string and I receive no email as the guest (email is specified in the reservation). Importantly, the developer document's "Try it" button also results in a code 200 AND places the message in the string and produces an email for me as the guest. I am at a loss as to why my code generates a success code while not actually producing the message as expected. def LSend(subject, message,typem,idn,sn='true'): idn = str(idn) url = "<https://api.lodgify.com/v1/reservation/booking/"+idn+"/messages"> payload = "[{\"subject\":subject,\"message\":message,\"type\":typem,\"send_notification\":sn}]" headers = { "accept": "application/json", "content-type": "application/\*+json", "X-ApiKey": "MYKEYHERE" } response = requests.post(url, data=payload, headers=headers) print(response.text) return response response=LSend(subject='from script',message='Please send this test message.t',typem='Owner',idn=MYIDHERE)
ANSWERED

Booking Details Response Time

Hello, I'm trying to access booking details and the API is responding very slowly, over a minute in some cases. <https://api.lodgify.com/v1/reservation/booking/{id}> Is there a known issue or are these queries? Sometimes I get a 504 error response: "The web server reported a gateway time-out error."
ANSWERED

API Rate limit

Hi Team, Recently, we are facing a rate limit issue with Lodgify v2 APIs, even though we are making one call only for one customer. We have around 120 customers who are using lodgify. The API that we are using right now is this <https://api.lodgify.com/v2/reservations/bookings> As per our logs, we are only able to make 25 API calls only and for the rest of the calls we are getting 429 error messages. As per documentation limit should be 750 API calls per minute. After some time our IPs Address are blocked. These are some IP address that are blocked as per us: 44.194.48.208 54.205.188.222 44.209.18.27 34.206.69.133 Can we get any help to understand why this is happening and is there anything we can improve in our system while making these API calls? Thanks in advance!
ANSWERED

Api infoemazions

I wonder if there is any way to pass fees, stay, taxes etc when we create the reservation from the API when I enter the values of a reservation on my computer that goes to your portal it returns { "id": 8974630, "user_id": 560755, "arrival": "2024-04-10", "departure": "2024-04-13", "property_id": 550409, "rooms": [ { "room_type_id": 617116, "people": 0, "key_code": "" } ], "guest": { "name": "Giulio Delmastro", "email": "[[email protected]](mailto:[email protected])", "phone": "3313408994", "country_code": null }, "language": "en", "status": "Booked", "attempt_expires_at": null, "source": "PublicApi", "source_text": "website", "created_from_ip": "176.9.85.188", "created_at": "2024-03-01T15:41:17", "updated_at": "2024-03-01T15:41:18", "canceled_at": null, "is_new": true, "is_deleted": false, "currency_code": "EUR", "total_amount": 168.85, "subtotals": { "stay": 0, "promotions": 0, "fees": 0, "taxes": 0, "addons": 0, "vat": null }, this is what I read about the reservation made on the site when I retrieve it from the Lodgify API... basically the fields we need are zero I'm referring to totals subtotals > stay etc
ANSWERED

Increase Booking Window

We're trying to get a quote for a property that's more than a year out in advance using the Quote endpoint (<https://docs.lodgify.com/reference/get_v2-quote-propertyid>). However, we're getting the following error: `The departure date is not valid`. How do we increase the booking window so that we can call the API from our direct website? We saw that we can individually increase them per house per channel, but we're not sure if that would correlate to the API itself. We want to be able to let guests book 18 months in advance. Thanks!
ANSWERED

How are a room's min_price and max_price calculated?

I am using the Lodgify API to retrieve room details and display them on my client's website: <https://api.lodgify.com/v2/properties/[property_id]/rooms/[room_id]> The client wishes to display the **minimum and maximum price per night**. I was hoping I could achieve this using the **min_price** and **max_price** fields returned by the API call above. However in a number of cases, the two fields contain the same price. The client is happy to populate these fields manually but we can't locate them in the UI. Most properties also have a range of **Season rates** set but these do not appear to be taken into account by min_price or max_price, so we assume they have to be manually entered somewhere. It _looks_ like min_price is populated in **Rentals > Rates > Default Rates > Price per night & min stay** but we're not sure. Please can you let me know where / how these fields are populated / calculated? Thanks!
ANSWERED

Custom Rental Agreements with Booking Details

Hello, We would like to capture the Booking Details at the checkout and post them into an external form containting the verbage of the rental agreement. From there, the guest will insert a digital signature and the signed lease will be saved on our back end and also emailed to host email address. How can the Booking Details be captured from the checkout screen? Thank you