v1

latestOpenAPI 3.0.02026-07-243271291.7 MB
Category NightPrices

GET night prices

Deprecated, see rentable_type/night_prices

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

Path parameters

category_idstring required

Category ID

channel_idstring required

Channel ID

Query parameters

fields[night_price]string

Fieldset. Specify a comma separated list of attributes to return

date_rangestring

Yield night prices for the given date range. Will be capped to 2 years in the future.

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'.

If-Modified-Sincestring

The API will send back the requested resource, with a 200 status, only if it has been last modified after the given datetime. If the request has not been modified since, the response will be a 304 without any body. The Last-Modified response header of a previous request will contain the date of last modification.

Response

NightPriceCollectionResponse