1.餐饮 - 商家接单
场景
无论是先吃后付还是先付后吃,每次加菜都会生成一个小订单,商家接单操作的是小订单,第一次操作小订单会影响到大订单状态,之后只是更改子订单的状态
接口
POST https://open.jisuapp.cn/business/Order/AcceptOrder/
请求参数说明
Content-Type: application/x-www-form-urlencoded
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | String | Y | 用户授权的唯一票据 |
order_id | String | Y | 主订单id |
child_order_id | String | Y | 子订单id |
返回参数
参数 | 类型 | 说明 |
---|---|---|
status | int | 状态码 0成功 1失败 |
参数返回示例
{
"status": 0,
"data": ""
}