Get Combos
Description
取得套餐。
Resource
GET /v2/product/combos
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Query Parameters
| Name | Type | Description |
|---|---|---|
| product_id | string | 商品代碼 |
| store_id | string | 門市代碼 (optional) |
| language | string (enum) |
語系 ALLOWED VALUES:
|
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| combos | Combo | 套餐列表 |
Response Body Parameters - Combo
| Name | Type | Description |
|---|---|---|
| id | string | 套餐序號 |
| title | string | 商品類別名稱 |
| translate_title | string | 商品類別翻譯名稱 |
| english_title | string | 商品類別英文名稱 |
| product_id | string | 商品代碼 |
| product_name | string | 商品名稱 |
| translate_product_name | string | 商品翻譯名稱 |
| english_product_name | string | 商品英文名稱 |
| image_url | string | 圖檔URL |
| quantity | int | 數量 |
| price | int | 單價 |
| is_default | boolean | 是否為預設商品 |
| is_stop_sale | boolean | 是否為停售商品 |
| is_hidden | boolean | 是否隱藏商品 |
| items | Combo Item | 套餐項目 |
| is_multiple_choice | boolean | 是否多選 |
| control_quantity | boolean | 控管數量 (若為多選才會判斷此參數) |
| group_name | string | 群組名稱 |
| translate_group_name | string | 群組翻譯名稱 |
| english_group_name | string | 群組英文名稱 |
| group_min_quantity | int | 群組最低可選數量 (若為多選才會判斷此參數) |
| group_max_quantity | int | 群組最高可選數量 (若為多選才會判斷此參數) |
| item_max_quantity | int | 品項最高可選數量 (若為多選才會判斷此參數) |
| tastes | Taste | 口味/加值列表 |
| limitations | string | 限量商品資訊 (optional) |
Response Body Parameters - Combo Item
| Name | Type | Description |
|---|---|---|
| product_id | string | 商品代碼 |
| product_name | string | 商品名稱 |
| translate_product_name | string | 商品翻譯名稱 |
| image_url | string | 圖檔URL |
| quantity | int | 數量 |
| price | int | 商品價格 |
| is_stop_sale | boolean | 是否為停售商品 |
| is_hidden | boolean | 是否隱藏商品 |
| tastes | Taste | 口味/加值列表 |
| limitations | string | 限量商品資訊 (optional) |
Response Body Parameters - Taste
| Name | Type | Description |
|---|---|---|
| id | int | 口味/加值編號 |
| title | string | 口味/加值名稱 |
| translate_title | string | 口味/加值翻譯名稱 |
| english_title | string | 口味/加值英文名稱 |
| is_mutually_exclusive | bool | 是否互斥 |
| kind | string | 口味/加值種類 |
| max_quantity | integer | 最大加值數量 |
| position | integer | 加值排序 |
| is_required | bool | 是否必填 |
| default | Taste Item | 預設加值項目 |
| items | Taste Item | 口味/加值項目 |
Response Body Parameters - Taste Item
| Name | Type | Description |
|---|---|---|
| id | int | 口味/加值項目編號 |
| title | string | 口味/加值項目名稱 |
| translate_title | string | 口味/加值項目翻譯名稱 |
| english_title | string | 口味/加值項目英文名稱 |
| price | int | 口味/加值項目價格 |
| image_url | string | 口味/加值項目價格圖片URL |
| size_child_product_id | string | 尺寸子商品編號 (optional) |
Response
{
"combos": [
{
"id": 1,
"title": "主食",
"translate_title": "主食",
"english_title": "Staple food",
"product_name": "炸雞腿飯★",
"translate_product_name": "炸雞腿飯★",
"english_product_name": "Fried chicken rice bowl",
"product_id": "UC06000002",
"image_url": "",
"quantity": 1.0,
"price": 0.0,
"is_hidden": false,
"is_default": true,
"is_stop_sale": false,
"items": [],
"is_multiple_choice": false,
"control_quantity": false,
"group_name": "主食",
"translate_group_name": "主食",
"english_group_name": "Staple food",
"group_min_quantity": 0,
"group_max_quantity": 0,
"item_max_quantity": 0,
"taste": [
{
"id": 1,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 1,
"is_required": false,
"items": [
{
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 3,
"title": "飯",
"translate_title": "飯",
"english_title": "rice",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 2,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加辣蘿蔔",
"translate_title": "不加辣蘿蔔",
"english_title": "No spicy radish",
"price": 0,
"image_url": "https://portal-dev.wixtar.com/kiosk/apptest/public/taste01/1542435165.webp",
"size_child_product_id": null
},
{
"id": 2,
"title": "不加玉米",
"translate_title": "不加玉米",
"english_title": "No corn",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "+滷汁",
"translate_title": "+滷汁",
"english_title": "Braised sauce",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "不要飯",
"translate_title": "不要飯",
"english_title": "No rice, please",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "飯少",
"translate_title": "飯少",
"english_title": "Not enough rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 6,
"title": "飯多",
"translate_title": "飯多",
"english_title": "More rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 7,
"title": "加購雞滷醬",
"translate_title": "加購雞滷醬",
"english_title": "Add-on chicken braised sauce",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 7,
"title": "加購雞滷醬",
"translate_title": "加購雞滷醬",
"english_title": "Add-on chicken braised sauce",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
},
{
"id": 4,
"title": "切塊",
"translate_title": "切塊",
"english_title": "Cut",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 1,
"is_required": false,
"items": [
{
"id": 1,
"title": "要切",
"translate_title": "要切",
"english_title": "Need to cut",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "切小塊",
"translate_title": "切小塊",
"english_title": "Cut into small pieces",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "主食裝一起",
"translate_title": "主食裝一起",
"english_title": "Main dish is packed together",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 5,
"title": "環保餐具",
"translate_title": "環保餐具",
"english_title": "Eco-friendly tableware",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 2,
"is_required": false,
"items": [
{
"id": 1,
"title": "自備餐具",
"translate_title": "自備餐具",
"english_title": "Bring your own utensils",
"price": -5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "環保餐具-主食分開裝",
"translate_title": "環保餐具-主食分開裝",
"english_title": "Eco-friendly tableware - main dish is packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "環保餐具-主食放一起",
"translate_title": "環保餐具-主食放一起",
"english_title": "Eco-friendly tableware - Main dishes together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "非常環保",
"translate_title": "非常環保",
"english_title": "",
"price": -50,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不環保",
"translate_title": "不環保",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 7,
"title": "炸物",
"translate_title": "炸物",
"english_title": "Fried food",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 2,
"is_required": true,
"items": [
{
"id": 3,
"title": "瘦一點",
"translate_title": "瘦一點",
"english_title": "I want to be a little thinner",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "肥一點",
"translate_title": "肥一點",
"english_title": "A little fatter",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "醬多",
"translate_title": "醬多",
"english_title": "Soy sauce and mirin",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 3,
"title": "瘦一點",
"translate_title": "瘦一點",
"english_title": "I want to be a little thinner",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
},
{
"id": 8,
"title": "燙青菜",
"translate_title": "燙青菜",
"english_title": "Blanched spinach",
"is_mutually_exclusive": false,
"kind": "2",
"max_quantity": null,
"position": 3,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加油蔥",
"translate_title": "不加油蔥",
"english_title": "No oil or scallions",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "不加油膏",
"translate_title": "不加油膏",
"english_title": "Don't apply cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "全不加",
"translate_title": "全不加",
"english_title": "None added",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "油膏多",
"translate_title": "油膏多",
"english_title": "Too much oil cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 13,
"title": "超值加購-白飯",
"translate_title": "超值加購-白飯",
"english_title": "Value-added purchase - white rice",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 4,
"is_required": false,
"items": [
{
"id": 1,
"title": "白飯",
"translate_title": "白飯",
"english_title": "White rice",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 23,
"title": "小菜",
"translate_title": "小菜",
"english_title": "Small dish",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 5,
"is_required": true,
"items": [
{
"id": 2,
"title": "不加油膏",
"translate_title": "不加油膏",
"english_title": "Don't apply cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "全不加",
"translate_title": "全不加",
"english_title": "None added",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "油膏多",
"translate_title": "油膏多",
"english_title": "Too much oil cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不加柴魚",
"translate_title": "不加柴魚",
"english_title": "Without adding bonito flakes",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
}
]
},
{
"id": 2,
"title": "飲品",
"translate_title": "飲品",
"english_title": "Beverage",
"product_name": "檸檬紅茶",
"translate_product_name": "檸檬紅茶",
"english_product_name": "Lemon black tea",
"product_id": "UC05000001",
"image_url": "",
"quantity": 1.0,
"price": 0.0,
"is_hidden": false,
"is_default": true,
"is_stop_sale": false,
"items": [
{
"product_name": "蜂蜜香檸茶",
"translate_product_name": "蜂蜜香檸茶",
"english_product_name": "Honey Lemon Tea",
"product_id": "UC05000005",
"image_url": "https://portal-dev.wixtar.com/kiosk/apptest/public/product00/142449-1-1734686527.jpeg",
"quantity": 1.0,
"price": 39.0,
"is_stop_sale": false,
"is_hidden": false,
"taste": [
{
"id": 1,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 1,
"is_required": false,
"items": [
{
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 5,
"title": "環保餐具",
"translate_title": "環保餐具",
"english_title": "Eco-friendly tableware",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 2,
"is_required": false,
"items": [
{
"id": 1,
"title": "自備餐具",
"translate_title": "自備餐具",
"english_title": "Bring your own utensils",
"price": -5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "環保餐具-主食分開裝",
"translate_title": "環保餐具-主食分開裝",
"english_title": "Eco-friendly tableware - main dish is packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "環保餐具-主食放一起",
"translate_title": "環保餐具-主食放一起",
"english_title": "Eco-friendly tableware - Main dishes together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "非常環保",
"translate_title": "非常環保",
"english_title": "",
"price": -50,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不環保",
"translate_title": "不環保",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 25,
"title": "冰塊",
"translate_title": "冰塊",
"english_title": "",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 3,
"is_required": false,
"items": [
{
"id": 1,
"title": "正常",
"translate_title": "正常",
"english_title": "",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "去冰",
"translate_title": "去冰",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "北極",
"translate_title": "北極",
"english_title": "",
"price": -10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 1,
"title": "正常",
"translate_title": "正常",
"english_title": "",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
},
{
"id": 26,
"title": "飲料大小",
"translate_title": "飲料大小",
"english_title": "",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 4,
"is_required": false,
"items": [
{
"id": 1,
"title": "小杯",
"translate_title": "小杯",
"english_title": "",
"price": 5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "大杯",
"translate_title": "大杯",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "特小杯",
"translate_title": "特小杯",
"english_title": "",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 1,
"title": "小杯",
"translate_title": "小杯",
"english_title": "",
"price": 5,
"image_url": "",
"size_child_product_id": null
}
}
]
}
],
"is_multiple_choice": false,
"control_quantity": false,
"group_name": "飲品",
"translate_group_name": "飲品",
"english_group_name": "Beverage",
"group_min_quantity": 0,
"group_max_quantity": 0,
"item_max_quantity": 0,
"taste": [
{
"id": 1,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 5,
"is_required": false,
"items": [
{
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
},
{
"id": 5,
"title": "環保餐具",
"translate_title": "環保餐具",
"english_title": "Eco-friendly tableware",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 6,
"is_required": false,
"items": [
{
"id": 1,
"title": "自備餐具",
"translate_title": "自備餐具",
"english_title": "Bring your own utensils",
"price": -5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "環保餐具-主食分開裝",
"translate_title": "環保餐具-主食分開裝",
"english_title": "Eco-friendly tableware - main dish is packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "環保餐具-主食放一起",
"translate_title": "環保餐具-主食放一起",
"english_title": "Eco-friendly tableware - Main dishes together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "非常環保",
"translate_title": "非常環保",
"english_title": "",
"price": -50,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不環保",
"translate_title": "不環保",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 25,
"title": "冰塊",
"translate_title": "冰塊",
"english_title": "",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 7,
"is_required": false,
"items": [
{
"id": 1,
"title": "正常",
"translate_title": "正常",
"english_title": "",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "去冰",
"translate_title": "去冰",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "北極",
"translate_title": "北極",
"english_title": "",
"price": -10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 2,
"title": "去冰",
"translate_title": "去冰",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
},
{
"id": 26,
"title": "飲料大小",
"translate_title": "飲料大小",
"english_title": "",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "小杯",
"translate_title": "小杯",
"english_title": "",
"price": 5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "大杯",
"translate_title": "大杯",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "特小杯",
"translate_title": "特小杯",
"english_title": "",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
}
]
},
{
"id": 3,
"title": "小菜類",
"translate_title": "小菜類",
"english_title": "Side dishes",
"product_name": "香滷鴨蛋",
"translate_product_name": "香滷鴨蛋",
"english_product_name": "Spiced braised duck egg",
"product_id": "UC02300001",
"image_url": "",
"quantity": 3.0,
"price": 10.0,
"is_hidden": false,
"is_default": true,
"is_stop_sale": false,
"items": [
{
"product_name": "香滷油豆腐",
"translate_product_name": "香滷油豆腐",
"english_product_name": "Fragrant braised tofu puffs",
"product_id": "UC04100002",
"image_url": "",
"quantity": 4.0,
"price": 5.0,
"is_stop_sale": false,
"is_hidden": false,
"taste": [
{
"id": 1,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 4,
"title": "切塊",
"translate_title": "切塊",
"english_title": "Cut",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "要切",
"translate_title": "要切",
"english_title": "Need to cut",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "切小塊",
"translate_title": "切小塊",
"english_title": "Cut into small pieces",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "主食裝一起",
"translate_title": "主食裝一起",
"english_title": "Main dish is packed together",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 5,
"title": "環保餐具",
"translate_title": "環保餐具",
"english_title": "Eco-friendly tableware",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "自備餐具",
"translate_title": "自備餐具",
"english_title": "Bring your own utensils",
"price": -5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "環保餐具-主食分開裝",
"translate_title": "環保餐具-主食分開裝",
"english_title": "Eco-friendly tableware - main dish is packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "環保餐具-主食放一起",
"translate_title": "環保餐具-主食放一起",
"english_title": "Eco-friendly tableware - Main dishes together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "非常環保",
"translate_title": "非常環保",
"english_title": "",
"price": -50,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不環保",
"translate_title": "不環保",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
}
]
}
],
"is_multiple_choice": false,
"control_quantity": false,
"group_name": "小菜類",
"translate_group_name": "小菜類",
"english_group_name": "Side dishes",
"group_min_quantity": 0,
"group_max_quantity": 0,
"item_max_quantity": 0,
"taste": [
{
"id": 1,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 5,
"title": "環保餐具",
"translate_title": "環保餐具",
"english_title": "Eco-friendly tableware",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "自備餐具",
"translate_title": "自備餐具",
"english_title": "Bring your own utensils",
"price": -5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "環保餐具-主食分開裝",
"translate_title": "環保餐具-主食分開裝",
"english_title": "Eco-friendly tableware - main dish is packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "環保餐具-主食放一起",
"translate_title": "環保餐具-主食放一起",
"english_title": "Eco-friendly tableware - Main dishes together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "非常環保",
"translate_title": "非常環保",
"english_title": "",
"price": -50,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不環保",
"translate_title": "不環保",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 20,
"title": "鴨蛋",
"translate_title": "鴨蛋",
"english_title": "Duck egg",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "蛋放飯裡",
"translate_title": "蛋放飯裡",
"english_title": "Put eggs in rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "蛋放半品",
"translate_title": "蛋放半品",
"english_title": "Half-cooked egg",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "蛋放紅糟",
"translate_title": "蛋放紅糟",
"english_title": "Marinate eggs in red yeast rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "蛋放控肉",
"translate_title": "蛋放控肉",
"english_title": "Cook eggs and pork together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "蛋放滷排",
"translate_title": "蛋放滷排",
"english_title": "Marinate eggs in soy sauce",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 6,
"title": "蛋放油雞",
"translate_title": "蛋放油雞",
"english_title": "Fry eggs in oil",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 7,
"title": "蛋另外包",
"translate_title": "蛋另外包",
"english_title": "Eggs are to be packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
}
]
},
{
"id": 4,
"title": "主食",
"translate_title": "主食",
"english_title": "Staple food",
"product_name": "炸雞腿飯★",
"translate_product_name": "炸雞腿飯★",
"english_product_name": "Fried chicken rice bowl",
"product_id": "UC06000002",
"image_url": "",
"quantity": 1.0,
"price": 50.0,
"is_hidden": false,
"is_default": true,
"is_stop_sale": false,
"items": [
{
"product_name": "玫瑰油雞腿飯",
"translate_product_name": "玫瑰油雞腿飯",
"english_product_name": "Rose oil chicken leg rice",
"product_id": "UC06100012",
"image_url": "",
"quantity": 1.0,
"price": 20.0,
"is_stop_sale": false,
"is_hidden": false,
"taste": [
{
"id": 3,
"title": "飯",
"translate_title": "飯",
"english_title": "rice",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加辣蘿蔔",
"translate_title": "不加辣蘿蔔",
"english_title": "No spicy radish",
"price": 0,
"image_url": "https://portal-dev.wixtar.com/kiosk/apptest/public/taste01/1542435165.webp",
"size_child_product_id": null
},
{
"id": 2,
"title": "不加玉米",
"translate_title": "不加玉米",
"english_title": "No corn",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "+滷汁",
"translate_title": "+滷汁",
"english_title": "Braised sauce",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "不要飯",
"translate_title": "不要飯",
"english_title": "No rice, please",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "飯少",
"translate_title": "飯少",
"english_title": "Not enough rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 6,
"title": "飯多",
"translate_title": "飯多",
"english_title": "More rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 7,
"title": "加購雞滷醬",
"translate_title": "加購雞滷醬",
"english_title": "Add-on chicken braised sauce",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 13,
"title": "超值加購-白飯",
"translate_title": "超值加購-白飯",
"english_title": "Value-added purchase - white rice",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "白飯",
"translate_title": "白飯",
"english_title": "White rice",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 1,
"title": "白飯",
"translate_title": "白飯",
"english_title": "White rice",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
}
]
},
{
"product_name": "炸雞腿麵●",
"translate_product_name": "炸雞腿麵●",
"english_product_name": "Fried chicken leg noodles",
"product_id": "UC07000002",
"image_url": "",
"quantity": 1.0,
"price": 30.0,
"is_stop_sale": false,
"is_hidden": false,
"taste": [
{
"id": 2,
"title": "麵",
"translate_title": "麵",
"english_title": "noodles",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加油蔥",
"translate_title": "不加油蔥",
"english_title": "No oil or scallions",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "不加冬菜",
"translate_title": "不加冬菜",
"english_title": "Without winter vegetables",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "不加芹菜",
"translate_title": "不加芹菜",
"english_title": "No celery",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "麵少",
"translate_title": "麵少",
"english_title": "Not enough noodles",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 6,
"title": "加一球麵",
"translate_title": "加一球麵",
"english_title": "Add one bowl of wonton noodles",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 4,
"title": "切塊",
"translate_title": "切塊",
"english_title": "Cut",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "要切",
"translate_title": "要切",
"english_title": "Need to cut",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "切小塊",
"translate_title": "切小塊",
"english_title": "Cut into small pieces",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "主食裝一起",
"translate_title": "主食裝一起",
"english_title": "Main dish is packed together",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 6,
"title": "湯",
"translate_title": "湯",
"english_title": "Hot water",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加蔥",
"translate_title": "不加蔥",
"english_title": "No scallions",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "加豆腐",
"translate_title": "加豆腐",
"english_title": "No tofu",
"price": 5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "不加柴魚",
"translate_title": "不加柴魚",
"english_title": "Without adding bonito flakes",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不加海帶芽",
"translate_title": "不加海帶芽",
"english_title": "Without adding seaweed",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 6,
"title": "不加芹菜",
"translate_title": "不加芹菜",
"english_title": "No celery",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 7,
"title": "加貢丸",
"translate_title": "加貢丸",
"english_title": "No meatballs",
"price": 5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 8,
"title": "不加蘿蔔",
"translate_title": "不加蘿蔔",
"english_title": "No carrots",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 9,
"title": "清湯",
"translate_title": "清湯",
"english_title": "Clear soup",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
}
]
}
],
"is_multiple_choice": false,
"control_quantity": false,
"group_name": "主食",
"translate_group_name": "主食",
"english_group_name": "Staple food",
"group_min_quantity": 0,
"group_max_quantity": 0,
"item_max_quantity": 0,
"taste": [
{
"id": 1,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 3,
"title": "飯",
"translate_title": "飯",
"english_title": "rice",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加辣蘿蔔",
"translate_title": "不加辣蘿蔔",
"english_title": "No spicy radish",
"price": 0,
"image_url": "https://portal-dev.wixtar.com/kiosk/apptest/public/taste01/1542435165.webp",
"size_child_product_id": null
},
{
"id": 2,
"title": "不加玉米",
"translate_title": "不加玉米",
"english_title": "No corn",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "+滷汁",
"translate_title": "+滷汁",
"english_title": "Braised sauce",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "不要飯",
"translate_title": "不要飯",
"english_title": "No rice, please",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "飯少",
"translate_title": "飯少",
"english_title": "Not enough rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 6,
"title": "飯多",
"translate_title": "飯多",
"english_title": "More rice",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 7,
"title": "加購雞滷醬",
"translate_title": "加購雞滷醬",
"english_title": "Add-on chicken braised sauce",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 7,
"title": "加購雞滷醬",
"translate_title": "加購雞滷醬",
"english_title": "Add-on chicken braised sauce",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
},
{
"id": 4,
"title": "切塊",
"translate_title": "切塊",
"english_title": "Cut",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "要切",
"translate_title": "要切",
"english_title": "Need to cut",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "切小塊",
"translate_title": "切小塊",
"english_title": "Cut into small pieces",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "主食裝一起",
"translate_title": "主食裝一起",
"english_title": "Main dish is packed together",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 5,
"title": "環保餐具",
"translate_title": "環保餐具",
"english_title": "Eco-friendly tableware",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "自備餐具",
"translate_title": "自備餐具",
"english_title": "Bring your own utensils",
"price": -5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "環保餐具-主食分開裝",
"translate_title": "環保餐具-主食分開裝",
"english_title": "Eco-friendly tableware - main dish is packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "環保餐具-主食放一起",
"translate_title": "環保餐具-主食放一起",
"english_title": "Eco-friendly tableware - Main dishes together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "非常環保",
"translate_title": "非常環保",
"english_title": "",
"price": -50,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不環保",
"translate_title": "不環保",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 7,
"title": "炸物",
"translate_title": "炸物",
"english_title": "Fried food",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": true,
"items": [
{
"id": 3,
"title": "瘦一點",
"translate_title": "瘦一點",
"english_title": "I want to be a little thinner",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "肥一點",
"translate_title": "肥一點",
"english_title": "A little fatter",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "醬多",
"translate_title": "醬多",
"english_title": "Soy sauce and mirin",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {
"id": 3,
"title": "瘦一點",
"translate_title": "瘦一點",
"english_title": "I want to be a little thinner",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
},
{
"id": 8,
"title": "燙青菜",
"translate_title": "燙青菜",
"english_title": "Blanched spinach",
"is_mutually_exclusive": false,
"kind": "2",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加油蔥",
"translate_title": "不加油蔥",
"english_title": "No oil or scallions",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "不加油膏",
"translate_title": "不加油膏",
"english_title": "Don't apply cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "全不加",
"translate_title": "全不加",
"english_title": "None added",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "油膏多",
"translate_title": "油膏多",
"english_title": "Too much oil cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 13,
"title": "超值加購-白飯",
"translate_title": "超值加購-白飯",
"english_title": "Value-added purchase - white rice",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "白飯",
"translate_title": "白飯",
"english_title": "White rice",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 23,
"title": "小菜",
"translate_title": "小菜",
"english_title": "Small dish",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": true,
"items": [
{
"id": 2,
"title": "不加油膏",
"translate_title": "不加油膏",
"english_title": "Don't apply cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "全不加",
"translate_title": "全不加",
"english_title": "None added",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "油膏多",
"translate_title": "油膏多",
"english_title": "Too much oil cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不加柴魚",
"translate_title": "不加柴魚",
"english_title": "Without adding bonito flakes",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
}
]
},
{
"id": 5,
"title": "小菜類",
"translate_title": "小菜類",
"english_title": "Side dishes",
"product_name": "請選擇商品",
"translate_product_name": "請選擇商品",
"english_product_name": "Blanched spinach",
"product_id": "",
"image_url": "",
"quantity": 1.0,
"price": 0.0,
"is_hidden": false,
"is_default": false,
"is_stop_sale": false,
"items": [
{
"product_name": "燙青菜",
"translate_product_name": "燙青菜",
"english_product_name": "Blanched spinach",
"product_id": "UC08000001",
"image_url": "",
"quantity": 1.0,
"price": 0.0,
"is_stop_sale": false,
"is_hidden": false,
"taste": [
{
"id": 1,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "內用",
"translate_title": "內用",
"english_title": "Dine-in",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "外帶",
"translate_title": "外帶",
"english_title": "Takeout",
"price": -5,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 5,
"title": "環保餐具",
"translate_title": "環保餐具",
"english_title": "Eco-friendly tableware",
"is_mutually_exclusive": false,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "自備餐具",
"translate_title": "自備餐具",
"english_title": "Bring your own utensils",
"price": -5,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "環保餐具-主食分開裝",
"translate_title": "環保餐具-主食分開裝",
"english_title": "Eco-friendly tableware - main dish is packaged separately",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "環保餐具-主食放一起",
"translate_title": "環保餐具-主食放一起",
"english_title": "Eco-friendly tableware - Main dishes together",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "非常環保",
"translate_title": "非常環保",
"english_title": "",
"price": -50,
"image_url": "",
"size_child_product_id": null
},
{
"id": 5,
"title": "不環保",
"translate_title": "不環保",
"english_title": "",
"price": 10,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 8,
"title": "燙青菜",
"translate_title": "燙青菜",
"english_title": "Blanched spinach",
"is_mutually_exclusive": false,
"kind": "2",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "不加油蔥",
"translate_title": "不加油蔥",
"english_title": "No oil or scallions",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "不加油膏",
"translate_title": "不加油膏",
"english_title": "Don't apply cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "全不加",
"translate_title": "全不加",
"english_title": "None added",
"price": 0,
"image_url": "",
"size_child_product_id": null
},
{
"id": 4,
"title": "油膏多",
"translate_title": "油膏多",
"english_title": "Too much oil cream",
"price": 0,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
},
{
"id": 9,
"title": "青菜種類",
"translate_title": "青菜種類",
"english_title": "Types of greens",
"is_mutually_exclusive": true,
"kind": "0",
"max_quantity": null,
"position": 8,
"is_required": false,
"items": [
{
"id": 1,
"title": "美生菜",
"translate_title": "美生菜",
"english_title": "Butterhead lettuce",
"price": 10,
"image_url": "",
"size_child_product_id": null
},
{
"id": 2,
"title": "地瓜葉",
"translate_title": "地瓜葉",
"english_title": "Sweet potato leaves",
"price": 15,
"image_url": "",
"size_child_product_id": null
},
{
"id": 3,
"title": "大陸妹",
"translate_title": "大陸妹",
"english_title": "Chinese girl",
"price": 20,
"image_url": "",
"size_child_product_id": null
}
],
"default": {}
}
]
}
],
"is_multiple_choice": false,
"control_quantity": false,
"group_name": "小菜類",
"translate_group_name": "小菜類",
"english_group_name": "Side dishes",
"group_min_quantity": 0,
"group_max_quantity": 0,
"item_max_quantity": 0,
"taste": []
}
]
}
Get Combos API Workflow
sequenceDiagram
participant C AS Client
participant O AS Omniplatform
participant DB AS Database
C->>O: Call Get Combos API
activate O
O->>DB: Call Get Combo
activate DB
DB->>O: Return result
deactivate DB
O->>O: Call Handle Response
O->>C: Return response(200)
deactivate O