Rooms
List ordered rooms
Returns the site's Rooms in their current display order. Used together with PUT /shop/rooms/order to power a drag-and-drop ordering UI in the admin panel.
Requires the RESERVATIONS_VIEW permission on the site.
get/shop/rooms/order
Query parameters
site_idstring required
Filter results by the site they belong to
Response
The site's rooms in display order. Used to drive a drag-and-drop ordering UI alongside the matching PUT /shop/rooms/order endpoint.
Example response
{
"data": [
{
"id": "5dcb47800000000000000000"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.