/basicOpen/multiplatform/wayfair/stockSearch{
"operation": {
"method": "POST",
"path": "/basicOpen/multiplatform/wayfair/stockSearch"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/multiplatform/wayfair/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 \"storeIds\": [110418202566107648],\n \"warehouseIds\": [110418202566107648]\n}'",
"responseExample": {
"code": 0,
"data": {
"syncTime": "2026-02-02 12:00:00",
"page": {
"total": 21,
"records": [
{
"manufacturerPartId": 1234567890,
"heldQty": 1,
"supplierPartNumber": "PN-12345",
"unreconciledQty": 1,
"storeId": 110418202566107650,
"unfulfillableQty": 1,
"productName": "Wayfair椅子",
"inStockQty": 10,
"unpickableQty": 0,
"warehouseId": "WH-001",
"expiredQty": 0,
"options": "颜色:白色;尺码:M",
"onHandQty": 12,
"storeName": "Wayfair-US",
"fulfillableQty": 8,
"sku": "WF-SKU-001",
"allocatedQty": 2,
"onTransferQty": 0
}
]
}
},
"error_details": [],
"message": "",
"request_id": "",
"response_time": "",
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | length | 每页条数 | integer | — | 可选 | 每页条数,必填,最大200 |
| 2 | offset | 偏移量 | integer | — | 可选 | 偏移量,必填,表示从第几条开始,最小为0 |
| 3 | storeIds | 店铺ID列表 | array<any> | — | 可选 | 店铺ID列表,必填,对应查询多平台店铺信息接口对应字段【store_id】 |
| 4 | warehouseIds | 仓库ID列表 | array<any> | — | 可选 | 仓库ID列表 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | 必填 | 响应码 |
| 2 | data | 返回数据 | object | — | 必填 | 返回数据 |
| 2.1 | page | page | object | — | 必填 | page |
| 2.1.1 | records | 记录列表 | array<object> | — | 必填 | 记录列表 |
| 2.1.1.1 | allocatedQty | 预留 | integer | 2 | 必填 | 预留 |
| 2.1.1.2 | expiredQty | 不可售-过期 | integer | 0 | 必填 | 不可售-过期 |
| 2.1.1.3 | fulfillableQty | 在库-可售 | integer | 8 | 必填 | 在库-可售 |
| 2.1.1.4 | heldQty | 不可售-搁置 | integer | 1 | 必填 | 不可售-搁置 |
| 2.1.1.5 | inStockQty | 在库 | integer | 10 | 必填 | 在库 |
| 2.1.1.6 | manufacturerPartId | Manufacturer ID | integer | 1234567890 | 必填 | Manufacturer ID |
| 2.1.1.7 | onHandQty | 总库存 | integer | 12 | 必填 | 总库存 |
| 2.1.1.8 | onTransferQty | 不可售-调仓中 | integer | 0 | 必填 | 不可售-调仓中 |
| 2.1.1.9 | options | 规格 | string | 颜色:白色;尺码:M | 必填 | 规格 |
| 2.1.1.10 | productName | 标题 | string | Wayfair椅子 | 必填 | 标题 |
| 2.1.1.11 | sku | 平台SKU | string | WF-SKU-001 | 必填 | 平台SKU |
| 2.1.1.12 | storeId | 店铺ID | integer | 110418202566107650 | 必填 | 店铺ID |
| 2.1.1.13 | storeName | 店铺名称 | string | Wayfair-US | 必填 | 店铺名称 |
| 2.1.1.14 | supplierPartNumber | Part Number | string | PN-12345 | 必填 | Part Number |
| 2.1.1.15 | unfulfillableQty | 在库-不可售 | integer | 1 | 必填 | 在库-不可售 |
| 2.1.1.16 | unpickableQty | 不可售-不可拣 | integer | 0 | 必填 | 不可售-不可拣 |
| 2.1.1.17 | unreconciledQty | 待定 | integer | 1 | 必填 | 待定 |
| 2.1.1.18 | warehouseId | 仓库ID | string | WH-001 | 必填 | 仓库ID |
| 2.1.2 | total | 总记录数 | integer | 21 | 必填 | 总记录数 |
| 2.2 | syncTime | 最新同步时间 | string | 2026-02-02 12:00:00 | 必填 | 最新同步时间 |
| 3 | error_details | 错误详情 | array<any> | — | 必填 | 错误详情 |
| 4 | message | 提示信息 | string | — | 必填 | 提示信息 |
| 5 | request_id | 请求id | string | — | 必填 | 请求id |
| 6 | response_time | 响应时间 | string | — | 必填 | 响应时间 |
| 7 | total | 总记录数 | integer | — | 必填 | 总记录数 |
领星ERP的接口:多平台 - 查询wayfair库存(/basicOpen/multiplatform/wayfair/stockSearch),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。