HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
unavailability_reason
Describes why a lodging is unavailable unavailable_dates: The lodging is unavailable for at least one of the requested dates min_stay_violation: The requested stay is shorter than the minimum stay requirement max_stay_violation: The requested stay is longer than the maximum stay requirement occupancy_violation: The requested occupancy exceeds the maximum allowed occupancy pet_policy_violation: The lodging does not allow pets, but the request includes pets checkin_not_allowed: The requested check-in date is not allowed (e.g., check-in only on certain days) checkout_not_allowed: The requested check-out date is not allowed (e.g., check-out only on certain days) min_booking_window_violation: The booking was made too close to the check-in date
Fields
unavailable_datesmin_stay_violationmax_stay_violationoccupancy_violationpet_policy_violationcheckin_not_allowedcheckout_not_allowedmin_booking_window_violation · Example min_stay_violationDescribes why a lodging is unavailable unavailable_dates: The lodging is unavailable for at least one of the requested dates min_stay_violation: The requested stay is shorter than the minimum stay requirement max_stay_violation: The requested stay is longer than the maximum stay requirement occupancy_violation: The requested occupancy exceeds the maximum allowed occupancy pet_policy_violation: The lodging does not allow pets, but the request includes pets checkin_not_allowed: The requested check-in date is not allowed (e.g., check-in only on certain days) checkout_not_allowed: The requested check-out date is not allowed (e.g., check-out only on certain days) min_booking_window_violation: The booking was made too close to the check-in date
"min_stay_violation"