/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
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | wid | 仓库ID | string | — | Optional | 仓库ID,字符串id,多个使用英文逗号分隔 |
| 2 | id | 仓位ID | string | — | Optional | 仓位ID,字符串id,多个使用英文逗号分隔 |
| 3 | status | 仓位状态 | string | — | Optional | 仓位状态: 1 禁用 2 启用 |
| 4 | type | 仓位类型 | string | — | Optional | 仓位类型: 5 可用 6 次品 |
| 5 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认为0 |
| 6 | limit | 限制条数 | integer | — | Optional | 限制条数,默认20条 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 502B9DD9-1BA0-03C5-6C61-D77C830440A6 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 6.1 | id | 仓位id | integer | 125 | Required | 仓位id |
| 6.2 | wid | 仓库ID | integer | 125 | Required | 仓库ID |
| 6.3 | Ware_house_name | 仓库名 | string | 1 | Required | 仓库名 |
| 6.4 | storage_bin | 仓位 | integer | 3 | Required | 仓位 |
| 6.5 | whb_status | 仓位状态 | string | — | Required | 仓位状态 |
| 6.6 | type | 仓位类型 | string | — | Required | 仓位类型 |
| 6.7 | sku_fnsku | 仓位商品关系 | array<object> | — | Required | 仓位商品关系 |
| 6.7.1 | SKU | SKU | string | — | Required | sku |
| 6.7.2 | FNSKU | FNSKU | string | — | Required | fnsku |
| 7 | total | total | integer | | Required |
The 查询本地仓位列表 API (/erp/sc/routing/data/local_inventory/warehouseBin) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.