/erp/sc/routing/owms/inbound/getPackingData{
"operation": {
"method": "GET",
"path": "/erp/sc/routing/owms/inbound/getPackingData"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "832A860C-F8D8-7719-9A55-6253E06C786E",
"response_time": "2024-08-21 15:29:30",
"data": {
"overseas_order_no": "OWS210303001",
"packaging_type": 2,
"box_count": 15,
"box_list": [
{
"box_no": 1,
"height": 289,
"length": 278,
"width": 128,
"weight": 129,
"items": [
{
"product_id": 10014,
"twp_id": 0,
"quantity_shipped": 10,
"match_num": 1,
"fnsku": "",
"sid": 0
}
]
},
{
"box_no": 2,
"height": 289,
"length": 278,
"width": 128,
"weight": 129,
"items": [
{
"product_id": 10014,
"twp_id": 0,
"quantity_shipped": 10,
"match_num": 1,
"fnsku": "",
"sid": 0
}
]
}
]
},
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | overseas_order_no | 备货单号 | string | OWS210303001 | 必填 | 备货单号 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | number | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 7BABECDC-65FE-43B1-20A3-E6BB6EDC928A | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2024-06-30 16:26:54 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | overseas_order_no | 备货单号 | string | OWS240619003 | 必填 | 备货单号 |
| 6.2 | packaging_type | 装箱类型 | number | 2 | 必填 | 装箱类型:1 每箱多个sku,2 每箱一个sku |
| 6.3 | box_count | 总箱数 | number | 2 | 必填 | 总箱数 |
| 6.4 | box_list | 装箱信息 | array<object> | — | 必填 | 装箱信息 |
| 6.4.1 | box_no | 箱号 | integer | 1 | 必填 | 箱号 |
| 6.4.2 | height | 箱子高(CM) | number | 23 | 必填 | 箱子高(CM) |
| 6.4.3 | length | 箱子长(CM) | number | 23 | 必填 | 箱子长(CM) |
| 6.4.4 | width | 箱子宽(CM) | number | 34 | 必填 | 箱子宽(CM) |
| 6.4.5 | weight | 箱子重(KG) | number | 3.3 | 必填 | 箱子重(KG) |
| 6.4.6 | items | 商品详情 | array<object> | — | 必填 | 商品详情 |
| 6.4.6.1 | product_id | 商品id | number | 2125186 | 必填 | 商品id |
| 6.4.6.2 | twp_id | 三方商品id | number | 0 | 必填 | 三方商品id |
| 6.4.6.3 | quantity_shipped | 装箱数 | number | 1 | 必填 | 装箱数 |
| 6.4.6.4 | match_num | 配对数量 | number | 1 | 必填 | 配对数量 |
| 6.4.6.5 | fnsku | fnsku | string | — | 必填 | FNSKU |
| 6.4.6.6 | sid | 店铺id | number | 0 | 必填 | 店铺id |
| 7 | total | total | number | 0 | 必填 |
领星ERP的接口:查询备货单装箱信息(/erp/sc/routing/owms/inbound/getPackingData),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。