メニュー一覧取得
const url = 'https://api.smaregi.dev/TARGET-CONTRACT-ID/waiter/menus?type=normal&category_id=1&with_custom_order=none&limit=20&sort=sort_no&page=1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.smaregi.dev/TARGET-CONTRACT-ID/waiter/menus?type=normal&category_id=1&with_custom_order=none&limit=20&sort=sort_no&page=1' \ --header 'Authorization: Bearer <token>'メニュー一覧を取得します。
【サブメニュー専用メニューの除外は waiter-server ver.2.46.0 (2026年10月上旬リリース予定) で追加予定】
サブメニュー専用メニュー(submenuOnly=true)は取得対象外です。
コースメニューは、コース区分が「標準コース」の場合のみ取得可能です。「簡易コース」はサポートしておりません。
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”[フィルタ]メニュー種別
all: 全てnormal: 単品plan: プランcourse: コース
Example
normalカテゴリーID
Example
1お好みオーダー情報を含むかを指定します。
all: 全て含むnone: 含めない (キーcustomOrderを含めない)
Example
none取得件数
Example
20ソート順
sort_no: ソート番号id: メニューIDname: メニュー名
Example
sort_noページ番号
Example
1Responses
Section titled “Responses”OK
メニュー情報
object
メニューID
メニュー名
メニュー名(カナ)
メニュー種別
normal:単品plan:プランcourse:コース
カテゴリーID
メニュー説明
ソート番号
適用開始日時[YYYY-MM-DDThh:mm:ssTZD]
メニューの制限時間設定(分)。
制限時間通知の判定に利用されます。
0 の場合は制限時間通知の対象外となります。
メニューの制限時間事前通知設定(分)。
制限時間事前通知の判定に利用されます。
0 の場合は事前通知の対象外となります。
お好みオーダーID
クエリパラメーターに with_custom_order=all を指定した場合、レスポンスに含まれます。
object
お好みオーダーID
お好みオーダー名
お好みオーダー内容
object
お好みオーダー内容ID
お好みオーダー内容名
ソート番号
true:注文時に価格決定するfalse:設定価格で注文する
【submenuOnly は waiter-server ver.2.46.0 (2026年10月上旬リリース予定) で追加予定】
サブメニュー専用として設定されているかを示します。メニューが単品(type=normal)の場合、レスポンスに含まれます。
true:サブメニュー専用として設定されている。このメニューは注文リクエストに指定できません。false:サブメニュー専用として設定されていない
サブメニュー専用メニューは本APIの取得対象外です。
作成元サービス
object
税率
税種別
normal:標準reduced:軽減none:非課税
金額
金額の税情報
include: 税込exclude: 税抜none: 非課税
※ 注文のリクエストボディで指定できる tax (金額の税情報)と単語が一致していませんのでご注意ください。
※ テーブル利用セクション、注文セクションのレスポンスに含まれる sellingPrice<NewOrderItemPrice> の tax (金額の税情報)と単語が一致していません。
複数価格存在する場合の初期選択設定
true:初期選択値false:初期選択でない
Examples
[ { "id": "1", "name": "サラダ", "kana": "サラダ", "type": "normal", "categoryId": "3", "note": "", "sortNo": 1, "applyDatetime": null, "timeLimit": 0, "preTimeLimitMinutesLeft": 0, "customId": "1", "isOpenPrice": false, "createdIn": "waiter", "prices": [ { "taxRate": 10, "taxType": "normal", "amount": "690", "tax": "include", "primary": true } ] }, { "id": "2", "name": "スープ", "kana": "スープ", "type": "normal", "categoryId": "3", "note": "", "sortNo": 2, "applyDatetime": null, "timeLimit": 0, "preTimeLimitMinutesLeft": 0, "customId": null, "isOpenPrice": false, "createdIn": "waiter", "prices": [ { "taxRate": 10, "taxType": "normal", "amount": "490", "tax": "include", "primary": true } ] }][ { "id": "1", "name": "サラダ", "kana": "サラダ", "type": "normal", "categoryId": "3", "note": "", "sortNo": 1, "applyDatetime": null, "timeLimit": 0, "preTimeLimitMinutesLeft": 0, "customId": "1", "customOrder": { "customId": "1", "customName": "ドレッシング", "contents": [ { "customContentId": "2", "customContentName": "胡麻ドレッシング", "sortNo": 1 }, { "customContentId": "3", "customContentName": "和風ドレッシング", "sortNo": 2 }, { "customContentId": "5", "customContentName": "フレンチドレッシング", "sortNo": 3 } ] }, "isOpenPrice": false, "createdIn": "waiter", "prices": [ { "taxRate": 10, "taxType": "normal", "amount": "690", "tax": "include", "primary": true } ] }, { "id": "2", "name": "スープ", "kana": "スープ", "type": "normal", "categoryId": "3", "note": "", "sortNo": 2, "applyDatetime": null, "timeLimit": 0, "preTimeLimitMinutesLeft": 0, "customId": null, "customOrder": null, "isOpenPrice": false, "createdIn": "waiter", "prices": [ { "taxRate": 10, "taxType": "normal", "amount": "490", "tax": "include", "primary": true } ] }][ { "id": "401", "name": "和風ドレッシング", "kana": "ワフウドレッシング", "type": "normal", "categoryId": "3", "note": "サラダ用のサブメニューです。", "sortNo": 1, "applyDatetime": null, "timeLimit": 0, "preTimeLimitMinutesLeft": 0, "customId": null, "isOpenPrice": false, "submenuOnly": false, "createdIn": "waiter", "prices": [ { "taxRate": 10, "taxType": "normal", "amount": "100", "tax": "include", "primary": true } ] }]Headers
Section titled “Headers”<前のURI>; rel="prev", <次のURI>; rel="next"
Bad Request
- リクエストパラメーターが不正
- 不正な値が指定された場合
object
Examplegenerated
{ "title": "example", "type": "example", "status": 1, "detail": "example"}