Discussions

Ask a Question
ANSWERED

Cannot fetch updated property name

Hello, We encounter the following issue: We updated the name of a property in Rentals page. Using the <https://docs.lodgify.com/reference/getpropertybyidv2> endpoint we can fetch the updated name. If we try to fetch the property name through curl or Postman, the property name is the old one: <https://api.lodgify.com/v2/properties?includeCount=true&page=4&size=50> Thank you. Regards, Theocharis Skylitsis
ANSWERED

API request updated_at dosent update proprely

Hello, We use the API to query properties on our website and we update only the one which the field from Lodgify updated_at is different from the one in our database (for the sake of not querying the whole database each time). Howerever, my client told me this morning the agreement text field was changed by the client in Lodgify but the change wasnt updated on our website. I went to verify the programmation and noticed the updated_at date was still from november and didnt change even if the client modify the agreement text. I did test it myself: I get the same thing, even if I change the agrement texte, the updated_at date dosent change ence our system wont update the property proprely. Can you see if its normal and fix it. I did my test on the property #519342 Thanks
ANSWERED

All the possible booking statuses

Hello, I'm implementing a subscriber to the "booking_change" webhook and I was wandering what are all the possible "booking.status" values and their meaning. I was able to find through testing only: "Booked" and "Open"
ANSWERED

Minimum stay duration

Hi, I'm using the "external pricing" feature to be able to set prices via the public API, but it seems this prevents setting minimum stay durations from the website (which says that they must be managed via the external pricing platform). However, I don't have an external pricing platform, only my own scripts. So how can I set the minimum stay durations? Either via the website or the API, I don't plan on changing them too often; but I didn't find out how do to that via the API… Thanks, Roland.
ANSWERED

Connect the messages for every reservation to Chiavistello Software

hi Chiavistello Software ask me to ask you the API for inbox messeges for every reservation, could you help me to give to them to connect this service
ANSWERED

APIs to format a request for information from an external website

Hello how to use APIs to format a request for information from an external website. The goal is to create the request in lodgify's messaging system (like with the contact form in webbuillder).
ANSWERED

Reviews property in WordPress with API

With the API, is it possible to retrieve notices ?
ANSWERED

where do I get a room id if I have no room linked to a property?

Trying to block dates via the API, so far got: - "Create an enquiry" that works but no impact on calendar ``` { "guest": { "name": "TOH" }, "source_text": "string", "source_address": "string", "arrival": "2023-11-08T16:37:36.049Z", "departure": "2023-11-09T16:37:36.049Z", "people": 0, "property_id": 504836, "room_type_id": 0, "status": "booked" } ``` And when trying to work on "Create a booking", I get the 666 error ``` { "guest": { "name": "string" }, "source_text": "string", "arrival": "2023-11-08T22:22:23.265Z", "departure": "2023-11-09T22:22:23.265Z", "property_id": 504836, "status": "Booked", "rooms": [ { "room_type_id": 1, "people": 1 } ], "total": 1000, "currency_code": "EUR" } ``` { "message": "Rates are incomplete for property '504836', room type(s): '1'.", "code": 666, "correlation_id": "0HMUUPTD4JJU5:00000089", "event_id": null } \-- Would greatly appreciate some guidance on how to navigate your API, thanks.
ANSWERED

Webhook for a booking request

Is ithere a webhook which is triggered when a booking is requested on the website?
ANSWERED

API MISSING BOOKING

hi, we noticed that with the v2 api not all reservations are displayed i have made the modify With API v1, however, it seems to return them all, '<https://api.lodgify.com/v2/reservations/bookings?page=1&size=50&includeCount=true&includeTransactions=false&includeExternal=true&includeQuoteDetails=false'> i have made the modify how you suggest but this month i have missing 2 booking "It's weird that the request returns 53 records as the parameter size is set to 50. In any case, please take into account that the parameters page & size controls the pagination of records, you can set up to 100 records per page. Also notice that v2 endpoint has a parameter stayFilter that, when not set defaults to Upcoming. If you want to mimic the behavior I would recommend you to set to All. Regards. Manu V." How can I solve the problem?