v1

latestOpenAPI 3.0.02026-07-243271291.7 MB
RentableType Availabilities

GET rentable_type availabilities

List availabilities of a RentableType you have access to

get/v3/channels/{channel_id}/rentable_types/{rentable_type_id}/availabilities

Path parameters

rentable_type_idstring required

RentableType ID

channel_idstring required

Channel ID

Query parameters

fields[rentable_type_availability]string

Fieldset. Specify a comma separated list of attributes to return

includestring

Includes list. Specify a comma separated list of resources to include.

date_rangestring

Yield availability for the given date range. Will be capped at 24 months in the future. Max LOS is capped at 30.

multibook_safety_margininteger

Specifies a custom multibook safety margin (must be a positive number). A common problem that occurs when dealing with accommodations instead of hotelrooms is that a single accommodation must be available for all consecutive days for a given start date and LOS. The safety margin helps to prevent overbookings by transforming the available stock. When specified, the safety margin is subtracted from the actual stock. It is only applied to RentableType availabilities with capacity of 3 or more, as this issue cannot occur otherwise.

Headers

Accept-Languagestring

Supported languages. A comma separated list with one or more of the following locales: cs, da, de, de-AT, de-CH, en, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr. Default: 'en'.

Response

RentableTypeAvailabilityCollectionResponse