コンテンツにスキップ

店舗のトッピンググループ一覧取得

GET
/stores/{store_id}/topping_groups

店舗で取り扱うトッピンググループの一覧を取得します

store_id
required
string

店舗ID

limit
integer
default: 20 >= 1 <= 100

取得件数

Example
20
sort
string
default: id

ソート順

  • id: トッピンググループID
  • name: トッピンググループ名
Example
id
page
integer
default: 1 >= 1

ページ番号

Example
1

OK

Array
object
id
required

トッピンググループID

string
1
name

トッピンググループ名

string
createdIn

作成元サービス

string
nullable
Allowed values: waiter pos headquarters
waiter
rule

選択条件

  • null:条件なし
object
condition

条件

  • all: 全体
  • category: カテゴリ毎
string
Allowed values: all category
all
max

上限

integer
>= 1 <= 999
2
min

下限

integer
<= 999
0
toppings

店舗で取り扱うトッピング

Array
object
id
required

トッピングID

string
name

トッピング名

string
categoryId

カテゴリーID

string
prices
Array
PriceSetting
object
taxRate

税率

number
taxType

税種別

  • normal:標準
  • reduced:軽減
  • none:非課税
string
Allowed values: normal reduced none
amount

金額

string
tax

金額の税情報

  • include: 税込
  • exclude: 税抜
  • none: 非課税

注文のリクエストボディで指定できる tax (金額の税情報)と単語が一致していませんのでご注意ください。

※ テーブル利用セクション、注文セクションのレスポンスに含まれる sellingPrice<NewOrderItemPrice> の tax (金額の税情報)と単語が一致していません。

string
Allowed values: include exclude none
primary

複数価格存在する場合の初期選択設定

  • true:初期選択値
  • false:初期選択でない
boolean
Examples
[
{
"id": "7",
"name": "ラーメントッピング",
"createdIn": "waiter",
"rule": {
"condition": "all",
"max": 3,
"min": 0
},
"toppings": [
{
"id": "8",
"name": "もやし",
"categoryId": "1",
"prices": [
{
"taxRate": 10,
"taxType": "normal",
"amount": "80",
"tax": "include",
"primary": true
}
]
},
{
"id": "9",
"name": "煮卵",
"categoryId": "2",
"prices": [
{
"taxRate": 10,
"taxType": "normal",
"amount": "100",
"tax": "include",
"primary": true
}
]
},
{
"id": "10",
"name": "チャーシュー",
"categoryId": "3",
"prices": [
{
"taxRate": 10,
"taxType": "normal",
"amount": "200",
"tax": "include",
"primary": true
}
]
}
]
},
{
"id": "11",
"name": "カレートッピング",
"createdIn": "waiter",
"rule": null,
"toppings": [
{
"id": "12",
"name": "カツ",
"categoryId": "4",
"prices": [
{
"taxRate": 10,
"taxType": "normal",
"amount": "120",
"tax": "include",
"primary": true
}
]
},
{
"id": "13",
"name": "エビフライ",
"categoryId": "5",
"prices": [
{
"taxRate": 10,
"taxType": "normal",
"amount": "200",
"tax": "include",
"primary": true
}
]
},
{
"id": "14",
"name": "福神漬け",
"categoryId": "6",
"prices": [
{
"taxRate": 10,
"taxType": "normal",
"amount": "50",
"tax": "include",
"primary": true
}
]
}
]
}
]
Link
string

<前のURI>; rel="prev", <次のURI>; rel="next"