Discussions

Ask a Question

Ability to download open api spec or swagger

Is there any way to download this data?

Ability to download open api spec or swagger

Is there any way to download this data?

Ability to download open api spec or swagger

Is there any way to download this data?

Airbnb reservations without email aliases

For some time Airbnb has not provided an email alias in its bookings. For us it is a problem since our own integration necessarily requires an email to generate the digital keys. Before the last update of the Lodgify dashboard, we could edit the guest's data, enter the email manually and from that moment on the data received in the webhooks already included that email and everything worked perfectly. Lodgify has disabled editing guest data for Airbnb bookings from the dashboard and we are running into the issue again. My question is: if I update the guest data from my integration by doing a PUT on the Lodgify endpoint: <https://api.lodgify.com/v1/reservation/booking/{booking_id}> for example with this body: { "guest": { "name": "My name", "email": "[[email protected]](mailto:[email protected])", "phone": "+34555666777" } } Would it cause any problems with my booking with Lodgify/Airbnb? Would we receive that email in the data provided in the webhooks? Do you think it could be a valid solution? Thank you.

Booking flow via API

I need to build a custom website on top of Lodgify's API, but I don't want to use Lodgify's checkout page. So, when a guest starts to book, a checkout process will be on the website instead of redirecting to Lodgify's checkout page. The only thing I will need is probably Lodgify's payment page so that I don't need to develop integrations with payment systems myself. Is it possible to achieve this via API? What I'm trying to do: 1. Create a booking using <https://api.lodgify.com/v1/reservation/booking/> with the status Open. 2. Create a quote using <https://api.lodgify.com/v1/reservation/booking/id/quote> 3. Get a payment link using <https://api.lodgify.com/v2/reservations/bookings/id/quote/paymentLink> When I open a payment link, it says: Cannot make a Payment when Quote status is Not sent. Am I doing everything correctly or should I use different endpoints and different flow? Also, if I do everything correctly, how to change the quote's status to "Sent" from "Not sent"? Thanks.

Webhook not displaying booking information

I'm trying to capture the event after a guest books a property. I've logged over 70 webhook attempts trying to identify when a guest books so that I can create a code and email it to them. Previously, I was using the event "booking_new_status_booked" but that event never triggered despite having many confirmed bookings to various platforms. Lodgify doesn't have webhook history so I was told to use "booking_new_any_status" to capture a broader subset of events and to extrapolate booking status from there. Over the last week, I've been logging every webhook attempt on my server with the event "booking_new_any_status". I've received 70+ webhook objects and none of them clearly define a booking as booked/paid for/settled. Could you please provide the webhook event type, as well as which field I should be looking for, in order to identify whenever a booking is paid for? Surely someone has done this before. Thanks in advance! P.S. Here are parts of the webhook objects if the dev team is curious: From AirBnB: ``` "source": "AirbnbIntegration", "source_text": "HMKRXPHM32", "status": "Open", "type": "Booking" "current_order": { "scheduled_policy_text": "Not scheduled in Lodgify", "security_deposit_text": "", "status": "PendingForOwner" ... } ``` The outer status was always "Open", even after the guest pays and the booking is created. The current_order.status was either "NotSent" or "PendingForOwner". (I have Instant Bookings that don't require approval so I don't know how a status would be pending on my part. From VRBO: ``` "source": "HomeAway", "source_text": "VRBO", "status": "Open", "current_order": { "status": "PendingForOwner" }, ``` Similar to AirBnB- Status is always "Open" without a "Booked". The only promising response I got was from Booking.com: ``` "source": "BookingCom", "source_text": "4168736883|4470453417", "status": "Booked", "type": "Booking" ```

Get all amenities from the API

Hi, I'm wondering how can I get the amenities list from the API. For example, the OVEN is called rental.amenities.amenities-picker.amenity-oven in the app.lodgify.com HTML source. When I call v2/properties/{id}/rooms, I get this name for the OVEN : CookingEatingOven. Is there a way to get all available amenities (even those with no properties)? I would like to be able to get all names, for each amenities (CookingEatingOven, CookingEatingRefrigerator, etc.) Thank you,