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 · 请求参数 7 个(必填 0) · 响应参数 24 个 · 限流令牌桶容量 1
Updated At
2026-11-21

查询仓位流水

POST/erp/sc/routing/data/local_inventory/wareHouseBinStatement
Factory
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/routing/data/local_inventory/wareHouseBinStatement"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": {
    "offset": 0,
    "length": 20,
    "wids": "1,578,765",
    "type": "19",
    "bin_type_list": "5",
    "start_date": "2022-01-30",
    "end_date": "2024-06-01"
  },
  "responseExample": {
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "3BA348FF-0C5D-6E7E-BEAE-70873B219122",
    "response_time": "2024-07-31 15:46:18",
    "data": [
      {
        "wid": 1,
        "ware_house_name": "wcn测试仓库测试改名",
        "whb_id": 594,
        "whb_name": "A-1-2",
        "whb_type_name": "可用",
        "order_sn": "IB220829005",
        "product_id": 10001,
        "product_name": "0.0MDF/WOOD/MTL SIGN/CLEAN SINGLE.../7-7/8\\\"",
        "sku": "ceshi001",
        "seller_id": "0",
        "fnsku": "",
        "num": 100,
        "type": 19,
        "type_text": "其他入库",
        "opt_uid": 273,
        "opt_time": "2022-08-29 14:56",
        "opt_realname": "曾卓彬",
        "remark": ""
      }
    ],
    "total": 3471
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1wid仓库IDstring—Optional仓库ID,多个仓库ID用英文逗号,分隔,传或者传空则默认所有仓库
2type流水类型string—Optional流水类型:【多个流水类型用英文逗号分隔,不填默认全部类型】 16 换标入库 17 加工入库 18 拆分入库 19 其他入库 22 采购入库 23 委外入库 24 调拨入库 25 盘盈入库 26 退货入库 27 移除入库 28 采购质检 29 委外质检 32 委外出库 33 盘亏出库 34 换标出库 35 加工出库 36 拆分出库 37 FBA出库 38 FBM出库 39 退货出库 41 调拨出库 42 其他出库 65 WFS出库 71 采购上架 72 委外上架 100 库存调整 200 成本补录 30001 已撤销
3bin_type_list仓位类型string—Optional仓位类型:【多个类型用逗号分隔】 1 待检暂存 2 可用暂存 3 次品暂存 4 拣货暂存 5 可用 6 次品
4start_date操作开始时间string—Optional操作开始时间,Y-m-d,闭区间,联合结束时间使用
5end_date操作结束时间string—Optional操作结束时间,Y-m-d,开区间,联合开始时间使用
6offset分页偏移量integer—Optional分页偏移量,默认0
7length分页长度integer—Optional分页长度,默认20

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响应时间
6data响应时间array<object>—Required响应时间
6.1wid仓库IDinteger8Required仓库ID
6.2ware_house_name仓库名string测试仓库Required仓库名
6.3whb_id仓位idstring—Required仓位id
6.4whb_name仓位名称string—Required仓位名称
6.5whb_type_name仓位类型名称string—Required仓位类型名称
6.6order_sn单据号stringOB220527028Required单据号
6.7product_id商品IDinteger18232Required商品ID
6.8product_name品名stringAA-组合3Required品名
6.9skuskustringAA-组合3RequiredSKU
6.10fnskufnskustring—RequiredFNSKU
6.11num数量integer—Required数量
6.12type流水类型integer—Required流水类型
6.13remark备注string库存初始化Required备注
6.14opt_uid操作人员IDinteger230Required操作人员ID
6.15opt_time操作时间string2020-09-05 16:23Required操作时间
6.16type_text流水类型文本string其他入库Required流水类型文本
6.17opt_realname操作人员姓名string李XRequired操作人员姓名
7total总数目integer143643Required总数目

The 查询仓位流水 API (/erp/sc/routing/data/local_inventory/wareHouseBinStatement) 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.