---
title: "List ordered rooms"
method: GET
path: "/shop/rooms/order"
tags: ["Rooms"]
---

# List ordered rooms

`GET /shop/rooms/order`

Returns the site's `Room`s 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.

## Query parameters

- `site_id` string, required

## Response `200`

The site's rooms in display order. Used to drive a drag-and-drop
ordering UI alongside the matching `PUT /shop/rooms/order` endpoint.

- object — Single-item envelope mixin. `allOf` this into any show response that wraps its `data` payload in an outer object; the concrete schema (e.g. `ShowUser`) adds its own `data` property with the appropriate `$ref` and keeps its own title so the SDK surface is unchanged.
  - `data` RoomSummary[], required — The rooms in their current display order.
    - `id` string, object-id, required — The ID of the room.
    - `capacity` integer, required
    - `name` string, required — The name of the room.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
