开放平台

扒书 ERP Open API

提交回收单

把待回收清单正式提交成一张回收单,之后等上门取件或寄件。

请求方式POST
接口路径/api/recycle/seller/push
Content-Typeapplication/json
鉴权X-Nideshop-Token

请求体字段

字段类型必填说明
addressIdInteger否-
day对象否-
day.plusDayint否-
hourString否-
recycleType对象否-
pickupPointIdInteger否-
payAsVoucherBoolean否-

curl 调用

curl -s 'https://www.8shu8.com/api/recycle/seller/push' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "addressId": 1,
  "day": {
    "plusDay": 1
  },
  "hour": "string",
  "recycleType": "...",
  "pickupPointId": 1,
  "payAsVoucher": true
}'

响应示例

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": {
    "message": "string",
    "doorPickup": true,
    "collectorName": "string",
    "collectorPhone": "string",
    "collectorAddress": "string"
  }
}

返回字段(data)

字段类型说明
messageString-
doorPickupBoolean线下单已分给能上门取书的回收商
collectorNameString-
collectorPhoneString-
collectorAddressString-