/basicOpen/multiplatform/fbt/stockSearch/v2{
"operation": {
"method": "POST",
"path": "/basicOpen/multiplatform/fbt/stockSearch/v2"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/multiplatform/fbt/stockSearch/v2?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 \"storeIds\": [\"110418202566107648\"]\n}'",
"responseExample": {
"code": 0,
"data": {
"page": {
"records": [
{
"availableQuantity": 1,
"fbtWarehouseName": "广州FBT仓",
"goodId": 1234567890,
"goodName": "示例标题",
"goodReferenceCode": "CODE001",
"inTransitQuantity": 1,
"reservedQuantity": 1,
"storeIds": "[\"110418202566107648\"]",
"storeNameList": "[\"\\u5e97\\u94faA\"]",
"totalInventoryQuantity": 1,
"totalQuantity": 1,
"unfulfillableQuantity": 1
}
],
"total": 21
},
"syncTime": "2024-11-12 12:34:56"
},
"error_details": [],
"message": "value",
"request_id": "value",
"response_time": "value",
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | length | 每页条数 | integer | — | 可选 | 每页条数,必填,最大200 |
| 2 | offset | 偏移量 | integer | — | 可选 | 偏移量,必填,最小0 |
| 3 | storeIds | 店铺ID列表 | array<any> | — | 可选 | 店铺ID列表,必填,对应查询多平台店铺信息接口对应字段【store_id】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | 必填 | 响应码 |
| 2 | data | 返回数据 | object | — | 必填 | 返回数据 |
| 2.1 | page | 分页信息 | object | — | 必填 | 分页信息 |
| 2.1.1 | records | 列表数据 | array<object> | — | 必填 | 列表数据 |
| 2.1.1.1 | availableQuantity | 可售 | integer | 1 | 必填 | 可售 |
| 2.1.1.2 | fbtWarehouseName | 平台仓库 | string | 广州FBT仓 | 必填 | 平台仓库 |
| 2.1.1.3 | goodId | 货品ID | integer | 1234567890 | 必填 | 货品ID |
| 2.1.1.4 | goodName | 货品标题 | string | 示例标题 | 必填 | 货品标题 |
| 2.1.1.5 | goodReferenceCode | 货品参考编码 | string | CODE001 | 必填 | 货品参考编码 |
| 2.1.1.6 | inTransitQuantity | 转运中 | integer | 1 | 必填 | 转运中 |
| 2.1.1.7 | reservedQuantity | 预留 | integer | 1 | 必填 | 预留 |
| 2.1.1.8 | storeIds | 店铺ID列表 | array<any> | ["110418202566107648"] | 必填 | 店铺ID列表 |
| 2.1.1.9 | storeNameList | 店铺名称列表 | array<any> | ["店铺A"] | 必填 | 店铺名称列表 |
| 2.1.1.10 | totalInventoryQuantity | 总在库 | integer | 1 | 必填 | 总在库 |
| 2.1.1.11 | totalQuantity | 总库存 | integer | 1 | 必填 | 总库存 |
| 2.1.1.12 | unfulfillableQuantity | 不可售 | integer | 1 | 必填 | 不可售 |
| 2.1.2 | total | 总数 | integer | 21 | 必填 | 总数 |
| 2.2 | syncTime | 最新同步时间 | string | 2024-11-12 12:34:56 | 必填 | 最新同步时间,格式:yyyy-MM-dd HH:mm:ss |
| 3 | error_details | 错误详情 | array<any> | — | 必填 | 错误详情 |
| 4 | message | 提示信息 | string | — | 必填 | 提示信息 |
| 5 | request_id | 请求id | string | — | 必填 | 请求id |
| 6 | response_time | 响应时间 | string | — | 必填 | 响应时间 |
| 7 | total | 总记录数 | integer | — | 必填 | 总记录数 |
领星ERP的接口:多平台 - 查询FBT库存(/basicOpen/multiplatform/fbt/stockSearch/v2),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。