轻易云
注册体验

领星ERP查询FULL库存接口

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

查询FULL库存

POST/basicOpen/multiplatform/full/stockSearch
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/basicOpen/multiplatform/full/stockSearch"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/multiplatform/full/stockSearch?access_token=value&timestamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"length\": 20,\n    \"offset\": 0,\n    \"selectTypeEnum\": \"COUNT_TYPE\",\n    \"custom\": \"value\",\n    \"custom>>likeContent\": \"手机壳\",\n    \"custom>>type\": 0,\n    \"hideZeroStorage\": 0,\n    \"storeIdList\": [123456,789012]\n}'",
  "responseExample": {
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "a0d54debf93140f3b58d1ed81e8e3583.178.17255922733991817",
    "response_time": "2024-11-12 16:00:00",
    "data": {
      "page": {
        "records": [
          {
            "availableQuantity": "150",
            "damaged": "3",
            "deleteFlag": false,
            "gmtCreate": 1702886098000,
            "gmtModified": 1702886098000,
            "id": "1001",
            "internalProcess": "5",
            "inventoryId": "ML-12345",
            "itemId": "12345",
            "lost": "1",
            "noFiscalCoverage": "5",
            "notSupported": "2",
            "picUrl": "https://example.com/image.jpg",
            "productName": "iPhone 15 Pro",
            "purchasePrice": "199.99",
            "quantity": "200",
            "sku": "SKU-123456",
            "storeId": 789012,
            "transfer": "10",
            "variationId": "67890",
            "warehouseName": "深圳仓",
            "withdrawal": "8"
          },
          {
            "availableQuantity": "80",
            "damaged": "0",
            "deleteFlag": false,
            "gmtCreate": 1702886100000,
            "gmtModified": 1702886100000,
            "id": "1002",
            "internalProcess": "2",
            "inventoryId": "ML-67890",
            "itemId": "54321",
            "lost": "0",
            "noFiscalCoverage": "0",
            "notSupported": "0",
            "picUrl": "https://example.com/another-image.png",
            "productName": "Samsung Galaxy S24",
            "purchasePrice": "150.00",
            "quantity": "90",
            "sku": "SKU-987654",
            "storeId": 789012,
            "transfer": "5",
            "variationId": "12345",
            "warehouseName": "上海仓",
            "withdrawal": "3"
          }
        ],
        "total": "100"
      },
      "syncTime": "2025-12-18 10:34:58"
    },
    "total": 1
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1length每页条数integer—可选每页条数,必填,最大200条
2offset分页偏移量integer—可选分页偏移量,必填,从0开始
3selectTypeEnum数据维度string—可选数据维度,COUNT_TYPE-数量 PRICE_TYPE-成本(必填)
4custom自定义搜索参数object—可选自定义搜索参数
4.1likeContent搜索内容string—可选搜索内容
4.2type搜索类型integer—可选搜索类型,枚举值:0-货品标题, 1-商品参考编码, 2-货品id
5hideZeroStorage是否隐藏0库存integer—可选是否隐藏0库存,0不隐藏,1隐藏
6storeIdList店铺ID列表array<any>—可选店铺ID列表

接口响应参数

序号字段名称类型默认值必填描述
1code响应码integer—必填响应码
2data返回数据object—必填返回数据
2.1page分页信息object—可选分页信息
2.1.1records库存记录列表array<object>—可选库存记录列表
2.1.1.1availableQuantityFBM可售库存string150可选FBM可售库存
2.1.1.2damaged损坏string3可选损坏
2.1.1.3deleteFlag是否删除boolean—可选是否删除,枚举值:false-否, true-是
2.1.1.4gmtCreate数据创建时间(时间戳)integer1702886098000可选数据创建时间(时间戳)
2.1.1.5gmtModified数据更新时间(时间戳)integer1702886098000可选数据更新时间(时间戳)
2.1.1.6ididstring1001可选ID
2.1.1.7internalProcess入库质检string5可选入库质检
2.1.1.8inventoryIdML code(库存编码)stringML-12345可选ML code(库存编码)
2.1.1.9itemId商品IDstring12345可选商品ID
2.1.1.10lost丢失string1可选丢失
2.1.1.11noFiscalCoverage无税务信息string5可选无税务信息
2.1.1.12notSupported无法入库string2可选无法入库
2.1.1.13picUrl商品图片URLstringhttps://example.com/image.jpg可选商品图片URL
2.1.1.14productName品名stringiPhone 15 Pro可选品名
2.1.1.15purchasePrice采购成本string199.99可选采购成本
2.1.1.16quantity总库存string200可选总库存
2.1.1.17skuskustringSKU-123456可选SKU
2.1.1.18storeId店铺IDinteger789012可选店铺ID
2.1.1.19transfer调仓中string10可选调仓中
2.1.1.20variationId变体IDstring67890可选变体ID
2.1.1.21warehouseName仓库名称string深圳仓可选仓库名称
2.1.1.22withdrawal移除中string8可选移除中
2.1.2total总数string—可选总数
2.2syncTime最新同步时间string2025-12-18 10:34:58可选最新同步时间
3error_details错误详情array<any>—必填错误详情
4message提示信息string—必填提示信息
5request_id请求idstring—必填请求id
6response_time响应时间string—必填响应时间
7total总记录数integer—必填总记录数

领星ERP的接口:查询FULL库存(/basicOpen/multiplatform/full/stockSearch),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

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