Appearance
6.4 获取订单状态
接口说明:
Method | URL | ContentType |
---|---|---|
GET | /api/restful/order/{order_id}/status | application/json |
URL参数说明:
参数 | 类型说明 | 是否必须 | 长度 | 描述 |
---|---|---|---|---|
order_id | string | 必须 | 50 | 预下订单号 |
返回结果说明:
参数 | 类型说明 | 描述 |
---|---|---|
orderId | string | 预下订单编号 |
state | int | 状态0:新建5:发货-2:取消-1:拒收1:签收4:退换货中 |
请求参数示例:
/api/restful/order/CG20190428175212384/status
返回数据示例:
json
{
"result": {
"orderId": "CG20190428175212384",
"state": -2
},
"success": true,
"errormsg": "",
"errorcode": "0",
"requestId": "06796339f44a4521ae5748db76316a8c"
}