Skip to main content
GET
/
fnb
/
list-tables
List tables
curl --request GET \
  --url https://api.series.hr/fnb/list-tables \
  --header 'apikey: <api-key>'
List every table configured in the workspace F&B module. Each table includes an EffectiveStatus that reflects whether the table is currently occupied by an active order (pending, preparing, or ready).

Request

curl -X GET "https://api.series.hr/fnb/list-tables?status=available" \
  -H "apikey: YOUR_API_KEY"

Parameters

status
string
Filter by table status: available, occupied, reserved, or unavailable.

Response

200
{
  "success": true,
  "data": {
    "WorkspaceId": "a7d5339a-5531-4336-99c6-6f3249c9ac20",
    "WorkspaceName": "Café Series",
    "Tables": [
      {
        "Id": "tbl-1",
        "TableNumber": "T1",
        "Name": "Window Seat",
        "Capacity": 4,
        "Status": "available",
        "EffectiveStatus": "available",
        "ActiveOrder": null
      },
      {
        "Id": "tbl-2",
        "TableNumber": "T2",
        "Name": "Patio Table",
        "Capacity": 2,
        "Status": "available",
        "EffectiveStatus": "occupied",
        "ActiveOrder": {
          "OrderNumber": "12",
          "Customer": {
            "UserId": 714760171,
            "Username": "builderman",
            "DisplayName": "Builderman",
            "AvatarUrl": "https://tr.rbxcdn.com/..."
          },
          "Status": "preparing",
          "ClaimStatus": "claimed"
        }
      }
    ],
    "TotalTables": 2
  }
}

Status Codes

  • 200: Tables returned successfully
  • 400: Invalid status filter value
  • 401: API key is required or invalid
  • 403: F&B module is disabled or workspace access is denied

Authorizations

apikey
string
header
required

Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.

Query Parameters

status
enum<string>

Filter by table status

Available options:
available,
occupied,
reserved,
unavailable

Response

Tables list