/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
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | length | 每页条数 | integer | — | Optional | 每页条数,必填,最大200 |
| 2 | offset | 偏移量 | integer | — | Optional | 偏移量,必填,最小0 |
| 3 | storeIds | 店铺ID列表 | array<any> | — | Optional | 店铺ID列表,必填,对应查询多平台店铺信息接口对应字段【store_id】 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | Required | 响应码 |
| 2 | data | 返回数据 | object | — | Required | 返回数据 |
| 2.1 | page | 分页信息 | object | — | Required | 分页信息 |
| 2.1.1 | records | 列表数据 | array<object> | — | Required | 列表数据 |
| 2.1.1.1 | availableQuantity | 可售 | integer | 1 | Required | 可售 |
| 2.1.1.2 | fbtWarehouseName | 平台仓库 | string | 广州FBT仓 | Required | 平台仓库 |
| 2.1.1.3 | goodId | 货品ID | integer | 1234567890 | Required | 货品ID |
| 2.1.1.4 | goodName | 货品标题 | string | 示例标题 | Required | 货品标题 |
| 2.1.1.5 | goodReferenceCode | 货品参考编码 | string | CODE001 | Required | 货品参考编码 |
| 2.1.1.6 | inTransitQuantity | 转运中 | integer | 1 | Required | 转运中 |
| 2.1.1.7 | reservedQuantity | 预留 | integer | 1 | Required | 预留 |
| 2.1.1.8 | storeIds | 店铺ID列表 | array<any> | ["110418202566107648"] | Required | 店铺ID列表 |
| 2.1.1.9 | storeNameList | 店铺名称列表 | array<any> | ["店铺A"] | Required | 店铺名称列表 |
| 2.1.1.10 | totalInventoryQuantity | 总在库 | integer | 1 | Required | 总在库 |
| 2.1.1.11 | totalQuantity | 总库存 | integer | 1 | Required | 总库存 |
| 2.1.1.12 | unfulfillableQuantity | 不可售 | integer | 1 | Required | 不可售 |
| 2.1.2 | total | 总数 | integer | 21 | Required | 总数 |
| 2.2 | syncTime | 最新同步时间 | string | 2024-11-12 12:34:56 | Required | 最新同步时间,格式:yyyy-MM-dd HH:mm:ss |
| 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 多平台 - 查询FBT库存 API (/basicOpen/multiplatform/fbt/stockSearch/v2) 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.