テーブル利用履歴一覧取得
GET /table_uses
GET
/table_uses
テーブル利用履歴の一覧を取得します
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” store_id
string
店舗ID
Example
1
status
string
ステータス
all
: 全てstarted
: 利用中ended
: 利用終了canceled
: キャンセル済みmerged
: 結合済み
Example
all
started
string format: date
利用開始日(RFC3339の日付形式)[YYYY-MM-DD]
Example
2024-06-01
ended
string format: date
利用終了日(RFC3339の日付形式)[YYYY-MM-DD]
Example
2024-06-01
sort
string
ソート順
started
: 利用開始日時
Example
started:desc
limit
integer
取得件数
Example
50
cursor
Responses
Section titled “ Responses ”OK
Array<object>
TableUseテーブル利用
object
id
required
テーブル利用ID(注文ヘッダーID)
string
storeId
店舗ID
string
tables
テーブル
Array<object>
object
id
テーブルID
string
name
テーブル名
string
number
人数
integer
status
ステータス
started
: 利用中ended
: 利用終了canceled
: キャンセル済みmerged
: 結合済み
string
started
利用開始日時 (入店日時)[YYYY-MM-DDThh:mm:ssTZD]
string format: date-time
ended
利用終了日時 (精算日時)[YYYY-MM-DDThh:mm:ssTZD]
string format: date-time
customerGroups
客層
Array<object>
object
id
客層ID
string
name
客層名
string
quantity
合計注文点数
integer
tableChargePerPerson
一人当たりのテーブルチャージ額
string
serviceChargeRate
サービスチャージ率(%)
integer
totalPrice
合計金額(税込)
string
tempTransactionHeadId
仮販売ID(ウェイター管理画面 ver.2.23のリリース以降にチェックアウトされたテーブル利用のみ取得できます)
string
reservationId
予約ID(削除済みの予約IDもレスポンスに含みます)
string
Examples
[ { "id": "10001", "storeId": "1", "tables": [ { "id": "1", "name": "T1" } ], "number": 2, "status": "started", "started": "2020-09-07T11:30:20+09:00", "ended": null, "customerGroups": [ { "id": "1", "name": "女性" } ], "quantity": 2, "tableChargePerPerson": "0", "serviceChargeRate": 0, "totalPrice": "1252", "tempTransactionHeadId": null, "reservationId": "123" }, { "id": "10002", "storeId": "1", "tables": [ { "id": "2", "name": "T2" } ], "number": 3, "status": "started", "started": "2020-09-07T11:45:20+09:00", "ended": null, "customerGroups": [ { "id": "1", "name": "女性" } ], "quantity": 3, "tableChargePerPerson": "0", "serviceChargeRate": 0, "totalPrice": "1700", "tempTransactionHeadId": null, "reservationId": null }]
Headers
Section titled “Headers ” Link
string
<次のURI>; rel="next"