Skip to content
On this page

6.4 获取订单状态

接口说明:

MethodURLContentType
GET/api/restful/order/{order_id}/statusapplication/json

URL参数说明:

参数类型说明是否必须长度描述
order_idstring必须50预下订单号

返回结果说明:

参数类型说明描述
orderIdstring预下订单编号
stateint状态0:新建5:发货-2:取消-1:拒收1:签收4:退换货中

请求参数示例:

/api/restful/order/CG20190428175212384/status

返回数据示例:

json
{
    "result": {
        "orderId": "CG20190428175212384",
        "state": -2
    },
    "success": true,
    "errormsg": "",
    "errorcode": "0",
    "requestId": "06796339f44a4521ae5748db76316a8c"
}