取消预订单
[TOC]
简要描述
- 取消预订单接口
请求URL
https://food.taihuyun.vip/api/foodcash.table/bookCancel?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5
请求方式
- POST
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
applet_id | 是 | string | 应用程序ID |
shop_id | 是 | string | 门店ID |
token | 是 | string | 用户身份验证的令牌 |
reason | 是 | string | 原因 |
返回示例
curl --location --request POST 'https://food.taihuyun.vip/api/foodcash.table/bookCancel' \
--data-raw '{
"applet_id": 1,
"shop_id": 1,
"token": "7bfa7bea543e7690a7e1b0fbdfcdd785",
"id":1,
"reason":"临时有事"
}'
返回参数
- 返回状态代码: 200
{
"code": 1,
"msg": "success",
"data": true
}
备注
- 更多返回错误代码请看基本参数中的参数说明