# 获取出库单状态
接口地址 /api/dxm/outbound-status
请求方式 POST
consumes ["application/json"]
produces ["*/*"]
接口描述 ``
请求示例
{
"orderId": "xxxxxx",
}
1
2
3
2
3
请求参数
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| token | token | header | true | string | |
| form | form | body | true | 请求对象 | 请求对象 |
schema属性说明
请求对象
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| orderId | 订单号 | body | 是 | string |
响应示例
{
"success": false,
"message": "错误信息",
"data": {
"orderNumber": "系统单号",
"customerRef": "客户单号",
"status": "已出库",
"trackingNumber": ["xx","xx"],
"at": "2024-10-31 09:58:46", //当status=已出库的时候,at就是出库时间
"charges": [
{
"chargeType": "快递自提费",
"amount": 15,
"currency": "USD"
},
{
"chargeType": "包装耗材费",
"amount": 1,
"currency": "USD"
}
]
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
响应参数
| 参数名称 | 参数说明 | 数据类型 |
|---|---|---|
| success | 接口请求是否成功 | boolean |
| message | 错误信息或成功信息 | string |
| data.orderNumber | 系统单号 | string |
| data.customerRef | 客户单号 | string |
| data.status | 订单状态: 新建,库内操作中,待客户操作,取消,异常,已拦截,已入库,已出库,已完成,拦截中 | string |
| data.trackingNumber | 追踪号列表 | array |
| data.trackingNumber[] | 追踪号 | string |
| data.at | 时间戳(出库时间) | string |
| charges.chargeType | 费用科目 | string |
| charges.amount | 费用金额 | double |
| charges.currency | 费用币种 | string |