Skip to content

Get Table

Description

查詢門市桌子資訊。

Resource

GET /v1/basic/table

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。

Query Parameters

Name Type Description
store_id string 門市代碼
include_hidden boolean 是否含未設定為顯示的桌號。
預設 false,僅回傳已設定為顯示的桌號,與加入本參數前的行為一致。
(option)

需要完整桌號清單(例如產生桌卡 QR)時請帶 include_hidden=1。

Request Example

GET /v1/basic/table?store_id=A011

僅取已設定顯示的桌號(預設)。

GET /v1/basic/table?store_id=A011&include_hidden=1

取該門市全部桌號,不過濾顯示狀態。

Response

{
  "tables": [
    {
      "tables_no": "01",
      "table_name": "內用01"
    },
    {
      "tables_no": "02",
      "table_name": "內用02"
    }
  ]
}

Response Body Parameters

Name Type Description
tables Table 桌子列表

Response Body Parameters - Table

Name Type Description
tables_no string 桌號
table_name string 桌名