/erp/sc/routing/data/local_inventory/warehouseBin{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/data/local_inventory/warehouseBin"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"wid": 5,
"id": 13,
"status": 2,
"type": 5,
"offset": 0,
"limit": 20
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "574FB0B8-FD6E-8D29-91FD-295B55CF5398",
"response_time": "2024-07-31 14:41:25",
"data": [
{
"id": 20,
"wid": 5,
"Ware_house_name": "自发货仓库呀",
"storage_bin": "A-1-3",
"status": 2,
"type": 5,
"sku_fnsku": [
{
"sku": "hh",
"product_id": 10752,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "HH11-1"
},
{
"sku": "WYZTKSJTZ",
"product_id": 29375,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "吴彦祖同款手机套装"
},
{
"sku": "YF-Product-001",
"product_id": 29856,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "YF-Product-001"
},
{
"sku": "YF-Product-002",
"product_id": 29908,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "YF-Product-002"
},
{
"sku": "YF-Product-003",
"product_id": 29909,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "YF-Product-003"
},
{
"sku": "YF-Product-004",
"product_id": 29910,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "YF-Product-004"
},
{
"sku": "YF-Product-005",
"product_id": 29911,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "YF-Product-005"
},
{
"sku": "YF-Product-002_MUTI",
"product_id": 29912,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "YF-Product-002(组)"
},
{
"sku": "YF-Product-006",
"product_id": 29913,
"fnsku": "B08D3MPS2V",
"store_id": "119",
"seller_name": "uboss123456-US",
"product_name": "YF-Product-006"
},
{
"sku": "REDMI",
"product_id": 31064,
"fnsku": "",
"store_id": "0",
"seller_name": "",
"product_name": "红米耳机"
}
]
}
],
"total": 2
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | wid | 仓库ID | string | — | 可选 | 仓库ID,字符串id,多个使用英文逗号分隔 |
| 2 | id | 仓位ID | string | — | 可选 | 仓位ID,字符串id,多个使用英文逗号分隔 |
| 3 | status | 仓位状态 | string | — | 可选 | 仓位状态: 1 禁用 2 启用 |
| 4 | type | 仓位类型 | string | — | 可选 | 仓位类型: 5 可用 6 次品 |
| 5 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认为0 |
| 6 | limit | 限制条数 | integer | — | 可选 | 限制条数,默认20条 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 502B9DD9-1BA0-03C5-6C61-D77C830440A6 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 6.1 | id | 仓位id | integer | 125 | 必填 | 仓位id |
| 6.2 | wid | 仓库ID | integer | 125 | 必填 | 仓库ID |
| 6.3 | Ware_house_name | 仓库名 | string | 1 | 必填 | 仓库名 |
| 6.4 | storage_bin | 仓位 | integer | 3 | 必填 | 仓位 |
| 6.5 | whb_status | 仓位状态 | string | — | 必填 | 仓位状态 |
| 6.6 | type | 仓位类型 | string | — | 必填 | 仓位类型 |
| 6.7 | sku_fnsku | 仓位商品关系 | array<object> | — | 必填 | 仓位商品关系 |
| 6.7.1 | SKU | SKU | string | — | 必填 | sku |
| 6.7.2 | FNSKU | FNSKU | string | — | 必填 | fnsku |
| 7 | total | total | integer | | 必填 |
领星ERP的接口:查询本地仓位列表(/erp/sc/routing/data/local_inventory/warehouseBin),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。