Expose max length of stay in the Public API property object

Problem Statement

  • The max length of stay is a global property-level setting in Hospitable but is not exposed in the Public API (GET /v2/properties/{uuid}).
  • The calendar returns min_days per date, but there is no corresponding max_days field β€” and the property object itself doesn't include a max_stay or max_nights field.
  • This forces hosts to keep business logic in two places: the Hospitable dashboard and their own systems.

Current Workaround

  • Hosts must manually check the max stay setting in the Hospitable dashboard and maintain it separately in their own systems.
  • There is no API endpoint to retrieve this value programmatically.

Impact

  • Operational overhead: hosts must maintain duplicate settings across two systems.
  • Risk of inconsistency: if the max stay is updated in Hospitable but not in the host's external system, business rules may be violated.
  • Lost time: manual synchronization between systems.

Proposed Solution

  • Add a max_stay (or max_nights) field to the property object in the Public API (GET /v2/properties/{uuid}).
  • This would return the global max length of stay setting for the property.

Unlock

  • Hosts would be able to read the max length of stay directly from the API, eliminating the need to maintain duplicate settings and reducing the risk of inconsistencies.

Please authenticate to join the conversation.

Upvoters
Status

New

Board

πŸ’‘ Feature requests

Date

About 11 hours ago

Subscribe to post

Get notified by email when there are changes.