按快递单号找批次
PDA 扫快递面单上的单号,直接定位到对应的回收批次并跳到详情。
| 请求方式 | GET/POST |
| 接口路径 | /api/recycle/buyer/batch/findByShippingNo |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
shippingNo | String | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/recycle/buyer/batch/findByShippingNo?shippingNo=xxx' \
-H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"DEPON_SHIPPING_STATUS_GOT": "string",
"id": 1,
"recycleNo": "string",
"addTime": "string",
"updateTime": "string",
"status": "...",
"bookCount": 1,
"school": "string",
"address": "string",
"phone": "string",
"userId": 1,
"name": "string",
"schoolId": 1,
"shippingNo": "string",
"logicOrderId": "string",
"logicAccountId": "string",
"receiveAddress": "string",
"recycleType": "...",
"buyerUserId": 1,
"pickTimeStart": "string",
"pickTimeEnd": "string",
"province": "string",
"city": "string",
"county": "string",
"shippingStatus": "string",
"businessId": 1,
"outTradeStatus": "...",
"exception": "...",
"shippingFee": 0.0,
"assessShippingFee": 0.0,
"buyerPayBookFee": 0.0,
"sellerReceiveFee": 0.0,
"sellerAssessFee": 0.0,
"weight": 0.0,
"msg": "string",
"statusText": "string",
"sellerName": "string",
"sellerPhone": "string",
"buyerName": "string",
"buyerPhone": "string",
"recycleTypeText": "string",
"fullInfo": "string",
"deliverType": "...",
"firstPushUserId": 1,
"pickupPointId": 1,
"storeCode": "string",
"buyerAddress": "string",
"sellerAddress": "string",
"payAsVoucher": true,
"knightScanTime": "string",
"operate": [
{
"operation": "...",
"desc": "..."
}
],
"coverList": [
"string"
],
"notifyCancel": true
}
}
返回字段(data)
| 字段 | 类型 | 说明 |
DEPON_SHIPPING_STATUS_GOT | String | - |
id | Integer | - |
recycleNo | String | 业务单号:yyyyMMdd + 当日6位序号 |
addTime | LocalDateTime | - |
updateTime | LocalDateTime | - |
status | 对象 | 0、未处理、1、已处理,2、拒收 |
bookCount | Integer | - |
school | String | 学校 |
address | String | 寝室 |
phone | String | 手机号 |
userId | Long | 创建人 |
name | String | 名字 |
schoolId | Integer | - |
shippingNo | String | - |
logicOrderId | String | 菜鸟裹裹寄件单号 |
logicAccountId | String | 菜鸟 cnAccountId |
receiveAddress | String | - |
recycleType | 对象 | - |
buyerUserId | Long | - |
pickTimeStart | LocalDateTime | - |
pickTimeEnd | LocalDateTime | - |
province | String | - |
city | String | - |
county | String | - |
shippingStatus | String | - |
businessId | Integer | - |
outTradeStatus | 对象 | - |
exception | 对象 | - |
shippingFee | BigDecimal | 实际快递费 |
assessShippingFee | BigDecimal | 预估快递费 |
buyerPayBookFee | BigDecimal | 买方付的书款 |
sellerReceiveFee | BigDecimal | 卖方实际收款 |
sellerAssessFee | BigDecimal | 卖方预估收书款 |
weight | Double | - |
msg | String | 提示消息 |
statusText | String | - |
sellerName | String | 卖家姓名,查询时填充,不落库 |
sellerPhone | String | 卖家电话,查询时填充,不落库 |
buyerName | String | 买家姓名,查询时填充,不落库 |
buyerPhone | String | 买家电话,查询时填充,不落库 |
recycleTypeText | String | - |
fullInfo | String | - |
deliverType | 对象 | - |
firstPushUserId | Long | - |
pickupPointId | Integer | - |
storeCode | String | - |
buyerAddress | String | 买家地址,查询时填充。到店单为所选门店 |
sellerAddress | String | 卖家地址,查询时填充 |
payAsVoucher | Boolean | - |
knightScanTime | LocalDateTime | - |
operate | 对象数组 | - |
operate[].operation | 对象 | - |
operate[].desc | String | - |
coverList | Array<String> | 列表预览封面(前几本) |
notifyCancel | Boolean | 菜鸟推送取消,不校验当前登录人,物流侧已取消。 |