Unavailable reason codes
Request the reason why a property is unavailable for the dates and/or occupancy given.
The unavailable_reason
feature allows you to request actionable information on why a property is fully unavailable for a set stay (stay dates and occupancies). The optional request parameter include=unavailable_reason
must be included when shopping to receive this information in the response.
unavailable_reason code | Description | Information returned in data field |
---|---|---|
adults_exceed_threshold | Number of adults requested exceeds room threshold. | Maximum value. |
children_exceed_threshold | Number of children requested exceeds room threshold. | Maximum value. |
infants_exceed_threshold | Number of infants requested exceeds room threshold. | Maximum value. |
minimum_child_age | Child age requested is less than the minimum age specified for the room. | Minimum value. |
maximum_occupancy | Number of occupants exceed the specified room limit. | Maximum value. |
checkin_not_allowed | Check-in not allowed for this stay date. | n/a |
checkout_not_allowed | Check-out not allowed for this stay date. | n/a |
minimum_stay | Length of stay is less than minimum. | Minimum value. |
maximum_stay | Length of stay is greater than maximum. | Maximum value. |
restricted_stay_lengths | Some stay lengths are not available for this check-in date. | Allowed lengths separated by a pipe* |
same_day_restrictions | Room is not available due to same day booking restrictions. | n/a |
maximum_rooms | Room count exceeds provider limit. | Maximum value. |
children_not_supported | The property is restricted to adults only. | n/a |
minimum_advance_purchase | Minimum advance purchase requirement not met. | Minimum value. |
maximum_advance_purchase | Maximum advance purchase requirement not met. | Maximum value. |
partial_inventory_available | Some of the dates have no inventory available for the specified duration. | Unavailable dates separated by a pipe* |
no_inventory_available | No inventory is available for the specified duration. | n/a |
- pipe =
|