换台
[TOC]
简要描述
- 转台接口
请求URL
https://food.taihuyun.vip/api/foodcash.table/changeTable?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5
请求方式
- POST
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
applet_id | 是 | string | 应用程序ID |
shop_id | 是 | string | 门店ID |
token | 是 | string | 用户身份验证的令牌 |
from_table_id | 是 | int | 原本的桌台位置 |
to_table_id | 是 | int | 要换到的位置 |
remark | 是 | string | 原因 |
返回示例
curl --location --request POST 'https://food.taihuyun.vip/api/foodcash.table/changeTable?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5' \
--data-raw '{
"from_table_id":40,
"to_table_id":25,
"remark":"将散台3转入专4包"
}'
返回参数
- 返回状态代码: 200
{
"code": 1,
"msg": "转台成功",
"data": []
}
备注
- 更多返回错误代码请看基本参数中的参数说明