v1

latestOpenAPI 3.0.02026-07-243271291.7 MB
Category Availability

GET category availabilities

Deprecated, see rentable_type/availabilities

get/v3/channels/{channel_id}/categories/{category_id}/availabilities

Path parameters

category_idstring required

Category ID

channel_idstring required

Channel ID

Query parameters

fields[category_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 Category 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

CategoryAvailabilityCollectionResponse