POST api/YiBaoO2O/UpdateStatus
更改订单状态
请求的信息
URI参数
None.
Body参数
YiBaoO2OUpdateStatusInfo| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| erp_store_id |
erp门店id |
string |
None. |
| order_no |
订单编号 |
string |
None. |
| order_state |
订单状态:0-进行中;1-已取消;2-已完成 |
integer |
None. |
| delivery_state |
配送状态:0-待调度;20-骑手接单;30-骑手取货;50-确认送达 |
integer |
None. |
| distributor_name |
配送员名称(骑手接单后不为空) |
string |
None. |
| distributor_mobile |
配送员电话(骑手接单后不为空) |
string |
None. |
请求格式
application/json, text/json
Sample:
{
"erp_store_id": "sample string 1",
"order_no": "sample string 2",
"order_state": 3,
"delivery_state": 4,
"distributor_name": "sample string 5",
"distributor_mobile": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
YiBaoO2OResponseModel| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| rc |
返回代码 0:成功 1:失败 |
integer |
None. |
| msg |
返回信息 |
string |
None. |
响应格式
application/json, text/json
Sample:
{
"rc": 1,
"msg": "sample string 2"
}