BookableAreas

List ordered bookable areas

Returns the site's BookableAreas in their current display order. Pair with PUT /shop/bookable-areas/order to power a drag-and-drop ordering UI.

Requires the RESERVATIONS_VIEW permission on the site.

get/shop/bookable-areas/order

Query parameters

site_idstring required

Filter results by the site they belong to

Response

The site's bookable areas in display order. Pair with PUT /shop/bookable-areas/order to power a drag-and-drop UI.

Example response

{
  "data": [
    {
      "name": "Hot Tub 1"
    }
  ]
}

Changes

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