接口 operators.depot.pickup.order.detail
接口说明
获取提货单详情
业务参数
| 参数名称 |
类型 |
是否必须 |
说明 |
| DPickupID |
string |
Y |
提货单 ID |
请求示例
{
"DPickupID": "5db266d87bd4810010954b10"
}
返回示例
{
"error_code": 0,
"error_msg": "SUCCESS",
"sub_error_code": null,
"sub_error_msg": null,
"data": {
"id": "68e8c1e9a0afe500102f92d8",
"OID": "660641dae4f5df001010f240",
"ReceiptNo": "TH25101016205793932",
"DepotID": "67283861bca5470010e6349d",
"AccountID": "5d5619bbf756f30011367eeb",
"OpAccountID": "5d25404ad66b8d0011cfab72",
"Status": 1,
"BizSource": 1,
"OutOfStock": "",
"Remarks": "",
"VerifyTime": 1760084457,
"PickupTime": 0,
"CreateAt": 1760084457,
"UpdatedAt": 1760084457,
"DepotVO": {
"id": "67283861bca5470010e6349d",
"Name": "仓库2"
},
"ReplenisherAccountVO": {
"AccountID": "5d5619bbf756f30011367eeb",
"TrueName": "张熙"
},
"OpAccountVO": {
"AccountID": "5d25404ad66b8d0011cfab72",
"TrueName": "lsy"
},
"ProductList": [
{
"BarCode": "4891599338393",
"Qty": 0,
"RealQty": 1,
"BeforeQty": 4,
"BoxGauge": 1,
"Tips": "1件0个",
"ProductName": "加多宝罐装310ml",
"CategoryID": "59ad1ac48b10fb0010ea5087",
"ParentCategoryID": "58e6ee4369c7ef1100ad2f06",
"ShelfLocation": "A-10",
"DepotStockVO": {
"id": "673706547187710010c43df7",
"Qty": 3
},
"ProductVO": {
"Name": "加多宝罐装310ml",
"ImageUrl": "https://res.yopoint.com/product/20190116/a013dd4286e0fb8b70c7896167a779bc.png",
"ImageFixWidthUrl": "https://res.yopoint.com/product/20190116/7bacbfbc1c573ae8c7aadd3f78e9c3b5.png",
"ParentCategoryID": "58e6ee4369c7ef1100ad2f06"
}
}
],
"SortingGoodsOrder": false
}
}
返回字段说明
| 字段名称 |
类型 |
说明 |
| id |
string |
提货单 ID |
| OID |
string |
运营商 ID |
| ReceiptNo |
string |
提货单号 |
| DepotID |
string |
仓库 ID |
| AccountID |
string |
补货员账号 ID |
| OpAccountID |
string |
操作员账号 ID |
| Status |
number |
提货单状态,状态 0=等待审核 1=审核通过(待确认收货) 2=(已确认提货成功) -1=审核失败,取消,拒绝 |
| BizSource |
number |
业务来源,来源 0=补货员申请 1=运营商发起 |
| OutOfStock |
string |
缺货信息 |
| Remarks |
string |
备注 |
| VerifyTime |
number |
审核时间(Unix 时间戳) |
| PickupTime |
number |
提货时间(Unix 时间戳) |
| CreateAt |
number |
创建时间(Unix 时间戳) |
| UpdatedAt |
number |
更新时间(Unix 时间戳) |
| DepotVO |
object |
仓库信息 |
| DepotVO.id |
string |
仓库 ID |
| DepotVO.Name |
string |
仓库名称 |
| ReplenisherAccountVO |
object |
补货员信息 |
| ReplenisherAccountVO.AccountID |
string |
补货员账号 ID |
| ReplenisherAccountVO.TrueName |
string |
补货员姓名 |
| OpAccountVO |
object |
操作员信息 |
| OpAccountVO.AccountID |
string |
操作员账号 ID |
| OpAccountVO.TrueName |
string |
操作员姓名 |
| ProductList |
array |
商品列表 |
| ProductList[].BarCode |
string |
商品条码 |
| ProductList[].Qty |
number |
计划数量 |
| ProductList[].RealQty |
number |
实际数量,默认为 0 |
| ProductList[].BeforeQty |
number |
提货前库存数量 |
| ProductList[].BoxGauge |
number |
箱规,默认为 1 |
| ProductList[].Tips |
string |
提示信息,格式为"X件Y个" |
| ProductList[].ProductName |
string |
商品名称 |
| ProductList[].CategoryID |
string |
分类 ID |
| ProductList[].ParentCategoryID |
string |
父分类 ID |
| ProductList[].ShelfLocation |
string |
货架位置 |
| ProductList[].DepotStockVO |
object/boolean |
仓库库存信息,无数据时为 false |
| ProductList[].DepotStockVO.id |
string |
库存记录 ID |
| ProductList[].DepotStockVO.Qty |
number |
当前库存数量 |
| ProductList[].ProductVO |
object/boolean |
商品信息,无数据时为 false |
| ProductList[].ProductVO.Name |
string |
商品名称 |
| ProductList[].ProductVO.ImageUrl |
string |
商品图片 URL |
| ProductList[].ProductVO.ImageFixWidthUrl |
string |
固定宽度商品图片 URL |
| ProductList[].ProductVO.ParentCategoryID |
string |
父分类 ID |
| SortingGoodsOrder |
object/boolean |
分拣单信息,无数据时为 false |
错误代码
| error_msg |
描述 |
| MISSING_PARAMS_DPICKUPID |
缺少提货单 ID |