Discussions

Ask a Question
ANSWERED

How can I handle languages

Hi, I'm working on an integration of the API on a multi-language website and I'd like to know how, with the api, can I differenciate the content based on the lang. Thank you for your help, Simon
ANSWERED

How can I get the API occupancy charge?

I have added that after a certain number of guests there will be a charge of a certain amount of money. But when I want to get information of the prices per day it does not return me the price of a certain charge. I also don't see the possibility to pass by GET the number of guests, how can I get it?

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)
ANSWERED

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
ANSWERED

Can I get the public URL of a property through the API v2?

Hi there, I am checking this endpoint v2/properties and I am wondering how I can get the public URL of a property. Is that possible out of the box? Thank you
ANSWERED

Payments methods

Can I add a new payment method using API
ANSWERED

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
ANSWERED

Display

I see this is fetching but how do I display the content? I'm trying to display the property details on a page. I see is calling properly but how do I display? Here is what I am using: const options = { method: 'GET', headers: { Accept: 'text/plain', 'X-ApiKey': 'qL9Oq******************************************' } }; fetch('https://api.lodgify.com/v1/properties/XXXX', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
ANSWERED

Can I get reviews of a property with API?

Please let me know if it is possible to retrieve reviews of a property?
ANSWERED

How to get policies being applied for a Property?

I would like to ask which API request which I can use to retrieve information of a Property's polices such as: Payment schedule, Cancellation policy, Damage deposit