注文取得
GET /orders/{order_id}
GET
/orders/{order_id}
注文を取得します
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” order_id
required
string
注文ID
Responses
Section titled “ Responses ”OK
object
orderId
注文ID
string
ordered
注文日時[YYYY-MM-DDThh:mm:ssTZD]
string format: string
items
required
Array<object>
GetOrderItem注文アイテムモデル
object
id
注文明細ID (明細ID)
string
name
注文内容
string
status
ステータス
waiting
: 提供待ち (注文済)provided
: 提供済み (配膳済)canceled
: キャンセル済み
string
memo
メモ
string
menuId
メニューID
string
quantity
数量
integer
menuType
注文時のメニュー取扱種別
normal
:単品plan
:プランinPlan
:プラン内メニューcourse
:コース
string
customContentId
お好みオーダー内容ID
string
customContentName
お好みオーダー内容
string
categoryId
カテゴリーID
string
sellingPrice
NewOrderItemPrice
販売価格
object
taxRate
required
税率の割合(税率10%の場合、10
。非課税のメニューの場合、指定がなければ標準の税率になります。)
number
taxType
required
税種別
normal
:標準reduced
:軽減none
:非課税
string
amount
required
金額
string
tax
required
金額の税情報
included
: 税込excluded
: 税抜none
: 非課税
string
discount
One of:
RateCoupon
注文メニューの値引、割引設定
object
rateCoupon
クーポン割引率
string
amount
値引金額
string
AmountCoupon
注文メニューの値引、割引設定
object
amountCoupon
クーポン値引額
string
amount
値引金額
string
FreeCoupon
注文メニューの値引、割引設定
object
freeCoupon
無料クーポン
boolean
amount
値引金額
string
Rate
注文メニューの値引、割引設定
object
rate
割引率
string
amount
値引金額
string
Amount
注文メニューの値引、割引設定
object
amount
値引額
string
toppings
メニューのトッピング
Array<object>
object
id
注文明細ID (明細ID)
string
toppingId
トッピングID
string
name
トッピング名
string
quantity
integer
categoryId
カテゴリーID
string
sellingPrice
NewOrderItemPrice
販売価格
object
taxRate
required
税率の割合(税率10%の場合、10
。非課税のメニューの場合、指定がなければ標準の税率になります。)
number
taxType
required
税種別
normal
:標準reduced
:軽減none
:非課税
string
amount
required
金額
string
tax
required
金額の税情報
included
: 税込excluded
: 税抜none
: 非課税
string
courseItems
コース内容
Array<object>
object
id
注文明細ID (明細ID)
string
menuId
メニューID
string
name
メニュー名
string
quantity
integer
categoryId
カテゴリーID
string
sellingPrice
NewOrderItemPrice
追加料金
object
taxRate
required
税率の割合(税率10%の場合、10
。非課税のメニューの場合、指定がなければ標準の税率になります。)
number
taxType
required
税種別
normal
:標準reduced
:軽減none
:非課税
string
amount
required
金額
string
tax
required
金額の税情報
included
: 税込excluded
: 税抜none
: 非課税
string
status
ステータス
waiting
: 提供待ち (注文済)provided
: 提供済み (配膳済)canceled
: キャンセル済み
string
tableUseId
テーブル利用ID(注文ヘッダーID)
string
tableUse
object
id
required
テーブル利用ID(注文ヘッダーID)
string
storeId
店舗ID
string
tables
テーブル
Array<object>
object
id
テーブルID
string
name
テーブル名
string
status
ステータス
started
: 利用中ended
: 利用終了canceled
: キャンセル済みmerged
: 結合済み
string
Examples
{ "orderId": "01ED3EV928A078J0TZAJQR69CK", "ordered": "2020-09-07T11:35:02+09:00", "items": [ { "id": "50001", "name": "コーヒー", "status": "waiting", "memo": "", "menuId": "124", "quantity": 2, "menuType": "normal", "customContentId": "8", "customContentName": "微糖", "categoryId": "156", "sellingPrice": { "taxRate": 10, "taxType": "normal", "amount": "330", "tax": "included" }, "discount": { "rateCoupon": "10", "amount": "33" }, "toppings": [], "courseItems": [] } ], "tableUseId": "10009", "tableUse": { "id": "10009", "status": "started", "storeId": "1", "tables": [ { "id": "8", "name": "T2" }, { "id": "9", "name": "T3" } ] }}