BookableAreas

List availability rules for a bookable area

Returns all AvailabilityRules configured on a BookableArea. Availability rules carve up the calendar into windows when the area can or cannot be booked — useful for blocking maintenance slots or restricting cabana hours.

Any is_available: false rule overrides any is_available: true rule for the same time period.

Requires the SETTINGS_MANAGE permission on the area's site.

get/shop/bookable-areas/{bookableAreaId}/availability-rules

Response

A list of AvailabilityRules on a BookableArea.

Example response

{
  "data": [
    {
      "date_from": "2021-02-15",
      "date_to": "2021-02-15",
      "time_from": "11:00",
      "time_to": "17:00"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.