Qeasy Cloud
Get Started

领星ERP 查询仓库列表 API

Platform
领星ERP
Type
WebAPI
Effect
QUERY
API Version
1.0
Adapter
\Adapter\LingXing\LXQueryAdapter
Auth Mode
OTHER
Description
仓库 / 仓库设置 · POST · 请求参数 5 个(必填 0) · 响应参数 18 个 · 限流令牌桶容量 1
Updated At
2026-11-21

查询仓库列表

POST/erp/sc/data/local_inventory/warehouse
Factory
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/data/local_inventory/warehouse"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": {
    "type": 1,
    "sub_type": 2,
    "is_delete": 0,
    "offset": 0,
    "length": 1000
  },
  "responseExample": "{\n    \"code\": 0,\n    \"message\": \"success\",\n    \"error_details\": [],\n    \"request_id\": \"D7FFE246-BE0D-D8C9-355D-ADB1EB860C3C\",\n    \"response_time\": \"2024-07-31 14:33:14\",\n    \"data\": [\n        {\n            \"wid\": 1300,\n            \"type\": 1,\n            \"name\": \"00000\",\n            \"is_delete\": 0,\n            \"wp_id\":1,\n            \"wp_name\":\"\"\n            \"t_country_area_name\": \"英国\",\n  \t\t\t\"t_status\": 1,\n  \t\t\t\"t_warehouse_code\": \"UKBM\",\n \t\t\t\"t_warehouse_name\": \"UKBM Warehouse\",\n  \t\t\t\"country_code\": \"UK\"\n        },\n\t\t{\n            \"wid\": 858,\n            \"type\": 1,\n            \"name\": \"测试仓\",\n            \"is_delete\": 0,\n            \"wp_id\":1,\n            \"wp_name\":\"\"\n  \t\t\t\"t_country_area_name\": \"英国\",\n \t\t\t \"t_status\": 1,\n  \t\t\t\"t_warehouse_code\": \"UKBM\",\n  \t\t\t\"t_warehouse_name\": \"UKBM Warehouse\",\n  \t\t\t\"country_code\": \"UK\"\n\t\t}\n    ],\n    \"total\": 2\n}"
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1type仓库类型integer—Optional仓库类型: 1 本地仓【默认值】 3 海外仓 4 亚马逊平台仓 6 AWD仓
2sub_type海外仓子类型integer—Optional海外仓子类型: 1 无API海外仓 2 有API海外仓【此参数只在type=3生效】
3is_delete是否删除string—Optional是否删除,多个使用英文逗号分隔: 0 未删除【默认值】 1 已删除
4offset分页偏移量integer—Optional分页偏移量,默认0
5length分页长度integer—Optional分页长度,默认1000条

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1code状态码integer0Required状态码,0 成功
2message消息提示stringsuccessRequired消息提示
3error_details错误信息array<any>—Required错误信息
4request_id请求链路idstring502B9DD9-1BA0-03C5-6C61-D77C830440A6Required请求链路id
5response_time响应时间string2020-05-18 11:23:47Required响应时间
6total总数integer5Required总数
7data响应数据array<object>—Required响应数据
7.1wid系统仓库idinteger1300Required系统仓库id
7.2name仓库名string00000Required仓库名
7.3type仓库类型integer1Required仓库类型: 1 本地仓 3 海外仓 4 平台仓 6 AWD仓
7.4is_delete是否删除string0Required是否删除:0 未删除,1 已删除
7.5t_country_area_name第三方仓库国家/地区string英国Required第三方仓库国家/地区
7.6t_status状态integer1Required状态:0 未启用 ,1 启用
7.7t_warehouse_code第三方仓库代码stringUKBMRequired第三方仓库代码
7.8t_warehouse_name第三方仓库名stringUKBM WarehouseRequired第三方仓库名
7.9country_code国家代码stringUKRequired国家代码
7.10wp_id服务商IDinteger1Required服务商ID,仅type=3且仓库为第三方海外仓时有值
7.11wp_name第三方海外仓服务商名字string0Required第三方海外仓服务商名字

The 查询仓库列表 API (/erp/sc/data/local_inventory/warehouse) 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.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.