/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×tamp=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
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | length | 每页条数 | integer | — | Optional | 每页条数,必填,最大200条 |
| 2 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,必填,从0开始 |
| 3 | selectTypeEnum | 数据维度 | string | — | Optional | 数据维度,COUNT_TYPE-数量 PRICE_TYPE-成本(必填) |
| 4 | custom | 自定义搜索参数 | object | — | Optional | 自定义搜索参数 |
| 4.1 | likeContent | 搜索内容 | string | — | Optional | 搜索内容 |
| 4.2 | type | 搜索类型 | integer | — | Optional | 搜索类型,枚举值:0-货品标题, 1-商品参考编码, 2-货品id |
| 5 | hideZeroStorage | 是否隐藏0库存 | integer | — | Optional | 是否隐藏0库存,0不隐藏,1隐藏 |
| 6 | storeIdList | 店铺ID列表 | array<any> | — | Optional | 店铺ID列表 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | Required | 响应码 |
| 2 | data | 返回数据 | object | — | Required | 返回数据 |
| 2.1 | page | 分页信息 | object | — | Optional | 分页信息 |
| 2.1.1 | records | 库存记录列表 | array<object> | — | Optional | 库存记录列表 |
| 2.1.1.1 | availableQuantity | FBM可售库存 | string | 150 | Optional | FBM可售库存 |
| 2.1.1.2 | damaged | 损坏 | string | 3 | Optional | 损坏 |
| 2.1.1.3 | deleteFlag | 是否删除 | boolean | — | Optional | 是否删除,枚举值:false-否, true-是 |
| 2.1.1.4 | gmtCreate | 数据创建时间(时间戳) | integer | 1702886098000 | Optional | 数据创建时间(时间戳) |
| 2.1.1.5 | gmtModified | 数据更新时间(时间戳) | integer | 1702886098000 | Optional | 数据更新时间(时间戳) |
| 2.1.1.6 | id | id | string | 1001 | Optional | ID |
| 2.1.1.7 | internalProcess | 入库质检 | string | 5 | Optional | 入库质检 |
| 2.1.1.8 | inventoryId | ML code(库存编码) | string | ML-12345 | Optional | ML code(库存编码) |
| 2.1.1.9 | itemId | 商品ID | string | 12345 | Optional | 商品ID |
| 2.1.1.10 | lost | 丢失 | string | 1 | Optional | 丢失 |
| 2.1.1.11 | noFiscalCoverage | 无税务信息 | string | 5 | Optional | 无税务信息 |
| 2.1.1.12 | notSupported | 无法入库 | string | 2 | Optional | 无法入库 |
| 2.1.1.13 | picUrl | 商品图片URL | string | https://example.com/image.jpg | Optional | 商品图片URL |
| 2.1.1.14 | productName | 品名 | string | iPhone 15 Pro | Optional | 品名 |
| 2.1.1.15 | purchasePrice | 采购成本 | string | 199.99 | Optional | 采购成本 |
| 2.1.1.16 | quantity | 总库存 | string | 200 | Optional | 总库存 |
| 2.1.1.17 | sku | sku | string | SKU-123456 | Optional | SKU |
| 2.1.1.18 | storeId | 店铺ID | integer | 789012 | Optional | 店铺ID |
| 2.1.1.19 | transfer | 调仓中 | string | 10 | Optional | 调仓中 |
| 2.1.1.20 | variationId | 变体ID | string | 67890 | Optional | 变体ID |
| 2.1.1.21 | warehouseName | 仓库名称 | string | 深圳仓 | Optional | 仓库名称 |
| 2.1.1.22 | withdrawal | 移除中 | string | 8 | Optional | 移除中 |
| 2.1.2 | total | 总数 | string | — | Optional | 总数 |
| 2.2 | syncTime | 最新同步时间 | string | 2025-12-18 10:34:58 | Optional | 最新同步时间 |
| 3 | error_details | 错误详情 | array<any> | — | Required | 错误详情 |
| 4 | message | 提示信息 | string | — | Required | 提示信息 |
| 5 | request_id | 请求id | string | — | Required | 请求id |
| 6 | response_time | 响应时间 | string | — | Required | 响应时间 |
| 7 | total | 总记录数 | integer | — | Required | 总记录数 |
The 查询FULL库存 API (/basicOpen/multiplatform/full/stockSearch) 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.