轻易云
注册体验

领星ERP查询本地仓位列表接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
仓库 / 仓库设置 · POST · 请求参数 6 个(必填 0) · 响应参数 16 个 · 限流令牌桶容量 1
更新日期
2026-11-21

查询本地仓位列表

POST/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
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1wid仓库IDstring—可选仓库ID,字符串id,多个使用英文逗号分隔
2id仓位IDstring—可选仓位ID,字符串id,多个使用英文逗号分隔
3status仓位状态string—可选仓位状态: 1 禁用 2 启用
4type仓位类型string—可选仓位类型: 5 可用 6 次品
5offset分页偏移量integer—可选分页偏移量,默认为0
6limit限制条数integer—可选限制条数,默认20条

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstring502B9DD9-1BA0-03C5-6C61-D77C830440A6必填请求链路id
5response_time响应时间string2020-05-18 11:23:47必填响应时间
6data响应数据array<object>—必填响应数据
6.1id仓位idinteger125必填仓位id
6.2wid仓库IDinteger125必填仓库ID
6.3Ware_house_name仓库名string1必填仓库名
6.4storage_bin仓位integer3必填仓位
6.5whb_status仓位状态string—必填仓位状态
6.6type仓位类型string—必填仓位类型
6.7sku_fnsku仓位商品关系array<object>—必填仓位商品关系
6.7.1SKUSKUstring—必填sku
6.7.2FNSKUFNSKUstring—必填fnsku
7totaltotalinteger&nbsp;必填

领星ERP的接口:查询本地仓位列表(/erp/sc/routing/data/local_inventory/warehouseBin),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。