Discussions

Ask a Question
ANSWERED
ANSWERED
ANSWERED

Issues related to Rategenie and Lodgify

There are few issues that we need help with. We are performing some tests on stage and we are seeing that we cannot push rates with your API. Request example: curl --request POST \ --url https://api.lodgify.com/v1/rates/savewithoutavailability \ --header 'Content-Type: application/json' \ --header 'X-ApiKey: ........' \ --data '{ "property_id": 402102, "room_type_id": 468018, "rates": [ { "is_default": false, "start_date": "2022-12-02", "end_date": "2022-12-03", "price_per_day": 777, "min_stay": 1, "max_stay": 1 }, { "is_default": true, "price_per_day": 100, "min_stay": 1, "max_stay": 2 } ] }' Response is 400 { "message": "Cannot get data from /api/v1/rates/external/402102. The endpoint responded with: {\"success\":false,\"statusCode\":\"UnauthorizedIAMException\",\"message\":\"Permission denied.\"}", "code": 666, "correlation_id": "0HMMJFP5FLEGE:00000099", "event_id": "00000000000000000000000000000000" } ---------------------- Secondly, when we are trying to get rates/calendar: curl --request GET \ --url 'https://api.lodgify.com/v2/rates/calendar?houseId=402102&roomTypeId=468018&startDate=2022-12-01&endDate=2023-12-01' \ --header 'X-ApiKey: ....' we are getting 400 Bad Request with body: { "message": "No result was found.", "code": 666, "correlation_id": "0HMME4PMP2HBR:0000001B", "event_id": null } Probably it means that there are no rates yet. However, the request itself is not bad, the response code should not be 400 in this case. Can Lodgify return 404 or (much better) 200 with an empty array of objects in this case? Regards,
ANSWERED

Rates enpoint return and odd error

Hi for this request: /v2/rates/calendar?HouseId=274421&RoomTypeId=335600&StartDate=2023-02-17&EndDate=2024-02-17 i am getting { "message": "No result was found.", "code": 666, "correlation_id": "0HMOGQ5C6UBIJ:00000057", "event_id": null }
ANSWERED
ANSWERED
ANSWERED
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
ANSWERED