Appearance
6.6 批量获取订单状态
接口说明:
Method | URL | ContentType |
---|---|---|
POST | /api/restful/order/states/query | application/json |
请求入参说明:
类型说明 | 是否必须 | 描述 |
---|---|---|
字符串数组 | 必须 | 预下订单号,多个单号以英文逗号分隔;可参考示例代码 |
返回结果说明:
参数 | 类型说明 | 描述 |
---|---|---|
orderId | string | 预下订单编号 |
state | int | 状态0:新建5:发货-2:取消-1:拒收1:签收4:退换货中 |
请求参数示例:
json
[
"WY20200211002286","XZ20200207001522","WY20191230041606"
]
返回数据示例:
json
{
"result": [
{
"orderId": "WY20200211002286",
"state": 1
},
{
"orderId": "XZ20200207001522",
"state": 0
},
{
"orderId": "WY20191230041606",
"state": 1
}
],
"success": true,
"errormsg": "",
"errorcode": "0",
"requestId": "5614c765-2379-4231-9aea-db1b852e6d83"
}