Link Search Menu Expand Document

Availability day

object

Attributes

availability_day.available

boolean

If the accommodation is marked as available for the date.

Additionally, when using “Resources” as the stock strategy, it will also check if there are available resources for the date and if the available resources have enough capacity to accommodate the mininum occupancy.

availability_day.date

timestamp

The date as a timestamp. This can then be used in conjunction with Liquid’s built-in filters.

availability_day.prices

array of Prices

An array of Price objects for the date.

availability_day.remaining_stock

number

The remaining stock for the accommodation day if variant uses inventory per night stock strategy.

Otherwise this will return nil.