improved
Revenue Management LoS Calendar Update
August 29th, 2024 by Guesty
Available Endpoints
Guesty has replaced the property identifiers unitType
and unitTypeId
with the more familiar listing
and listingId
. The changes ensure consistency in naming conventions and improve code readability and maintainability. For example:
Before
curl 'https://open-api.guesty.com/v1/rm-los-calendar-service/unitType/{unitTypeId}/calendar?startDate=YYYY-MM-DD&endDate=YYYY-MM-DD&limit=100&skip=0' \
--header 'Accept: application/json'
After
curl --globoff 'https://open-api.guesty.com/v1/rm-los-calendar-service/listing/{listingId}/calendar?startDate=YYYY-MM-DD&endDate=YYYY-MM-DD&limit=100&skip=0' \
--header 'accept: application/json'
In addition, parameter and endpoint descriptions were updated to remove any ambiguity and increase understanding.
Resources