Copy Menu
Description
複製菜單。
Resource
POST /manager/v1/product/copy_menu
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| company_id | string | 來源公司編號 |
| from_shop_id | string | 來源門市編號 |
| from_menu_id | integer | 來源菜單編號 |
| to_shop_ids | list[string] | 目的地門市編號 |
| menu_name | string | 菜單名稱 |
| platform_id | string | 平台編號 |
| sync_type | string | 菜單同步類型 ALLOWED VALUES:
|
| is_remember_copy_shops | boolean | 是否記住套用門市編號 |
Request Body Example
{
"company_id": "18090377",
"from_shop_id": "000030",
"from_menu_id": 1,
"to_shop_ids": [
"000040",
"000050"
],
"menu_name": "KIOSK_全時段菜單",
"platform_id": "KIOSK",
"sync_type":"SCHEDULE",
"is_remember_copy_shops": true
}
Response Success Example
Status-Code: 204 No Content