开放平台

扒书 ERP Open API

按快递单号找批次

PDA 扫快递面单上的单号,直接定位到对应的回收批次并跳到详情。

请求方式GET/POST
接口路径/api/recycle/buyer/batch/findByShippingNo
Content-Type-
鉴权X-Nideshop-Token

请求参数

参数类型必填位置
shippingNoString否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_GOTString-
idInteger-
recycleNoString业务单号:yyyyMMdd + 当日6位序号
addTimeLocalDateTime-
updateTimeLocalDateTime-
status对象0、未处理、1、已处理,2、拒收
bookCountInteger-
schoolString学校
addressString寝室
phoneString手机号
userIdLong创建人
nameString名字
schoolIdInteger-
shippingNoString-
logicOrderIdString菜鸟裹裹寄件单号
logicAccountIdString菜鸟 cnAccountId
receiveAddressString-
recycleType对象-
buyerUserIdLong-
pickTimeStartLocalDateTime-
pickTimeEndLocalDateTime-
provinceString-
cityString-
countyString-
shippingStatusString-
businessIdInteger-
outTradeStatus对象-
exception对象-
shippingFeeBigDecimal实际快递费
assessShippingFeeBigDecimal预估快递费
buyerPayBookFeeBigDecimal买方付的书款
sellerReceiveFeeBigDecimal卖方实际收款
sellerAssessFeeBigDecimal卖方预估收书款
weightDouble-
msgString提示消息
statusTextString-
sellerNameString卖家姓名,查询时填充,不落库
sellerPhoneString卖家电话,查询时填充,不落库
buyerNameString买家姓名,查询时填充,不落库
buyerPhoneString买家电话,查询时填充,不落库
recycleTypeTextString-
fullInfoString-
deliverType对象-
firstPushUserIdLong-
pickupPointIdInteger-
storeCodeString-
buyerAddressString买家地址,查询时填充。到店单为所选门店
sellerAddressString卖家地址,查询时填充
payAsVoucherBoolean-
knightScanTimeLocalDateTime-
operate对象数组-
operate[].operation对象-
operate[].descString-
coverListArray<String>列表预览封面(前几本)
notifyCancelBoolean菜鸟推送取消,不校验当前登录人,物流侧已取消。