轻易云
注册体验

领星ERP库存报表 - 本地仓 - 历史报表 - 明细接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
统计 · POST · 请求参数 5 个(必填 4) · 响应参数 62 个 · 限流令牌桶容量 1
更新日期
2026-11-21

库存报表 - 本地仓 - 历史报表 - 明细

POST/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseDetailList
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseDetailList"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": {
    "start_date": "2022-01-01",
    "end_date": "2022-08-05",
    "offset": 0,
    "length": 15,
    "sys_wid": "1"
  },
  "responseExample": "{\n    \"code\": 0,\n    \"message\": \"success\",\n    \"error_details\":[],\n    \"request_id\": \"BDF6F403-1998-7E7F-62C2-369C15FEE14D\",\n    \"response_time\": \"2022-12-21 18:44:54\"\n    \"data\": [{\n        \"spu_name\": \"\",\n        \"sku\": \"1544220\",\n        \"product_name\": \"kmkm\",\n        \"fnsku\": \"\",\n        \"sku_attribute\": \"\",\n        \"seller_name\": \"\",\n        \"category1\": \"\",\n        \"category2\": \"\",\n        \"category3\": \"\",\n        \"brand\": \"\",\n        \"attribute_text\": \"可售\",\n        \"product_type\": \"普通商品\",\n        \"sys_wid\": \"3879\",\n        \"ware_house_name\": \"dabing-test\",\n        \"day_early_count\": 1,\n        \"day_early_cost\": \"\",\n        \"purchase_in_count\": 0,\n        \"purchase_in_cost\": \"\",\n        \"allocation_in_count\": 0,\n        \"allocation_in_cost\": \"\",\n        \"return_goods_in_count\": 0,\n        \"return_goods_in_cost\": \"\",\n        \"other_in_count\": 0,\n        \"other_in_cost\": \"\",\n        \"inventory_surplus_in_count\": 0,\n        \"inventory_surplus_in_cost\": \"\",\n        \"adjustment_count\": 0,\n        \"adjustment_cost\": \"\",\n        \"fba_out_count\": 0,\n        \"fba_out_cost\": \"\",\n        \"fbm_out_count\": 0,\n        \"fbm_out_cost\": \"\",\n        \"allocation_out_count\": 0,\n        \"allocation_out_cost\": \"\",\n        \"purchase_return_count\": 0,\n        \"purchase_return_cost\": \"\",\n        \"other_out_count\": 0,\n        \"other_out_cost\": \"\",\n        \"inventory_deficit_out_count\": 0,\n        \"inventory_deficit_out_cost\": \"\",\n        \"wfs_out_count\": 0,\n        \"wfs_out_cost\": \"\",\n        \"allocation_in_transit_count\": 0,\n        \"allocation_in_transit_cost\": \"\",\n        \"day_end_count\": 1,\n        \"day_end_cost\": \"\",\n        \"rotation_rate_count\": \"0.0000\",\n        \"rotation_rate_cost\": \"\",\n        \"rotation_day_count\": 0,\n        \"rotation_day_cost\": \"\",\n        \"sales_ratio_count\": 0,\n        \"sales_ratio_cost\": \"\",\n        \"cost_change_cost\": 0\n    }],\n    \"total\": 1\n}"
}

接口请求参数

序号字段名称类型默认值必填描述
1sys_wid系统仓库idinteger—可选系统仓库id,多个用英文逗号分隔
2start_date开始时间string—必填开始时间,格式:Y-m-d
3end_date结束时间string—必填结束时间,格式:Y-m-d
4offset分页偏移量integer—必填分页偏移量,默认0
5length分页长度integer—必填分页长度,默认15

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码, 0 成功
2message消息提示stringsuccess必填消息提示
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstring8D680B8B-3C6F-3E16-F055-73DC70EAD977必填请求链路id
5response_time响应时间string2020-05-18 11:23:47必填响应时间
6data响应数据array<object>—必填响应数据
6.1spuspustring1必填SPU
6.2spu_name款名string手机必填款名
6.3skuskustringSSS必填SKU
6.4product_name品名string商品名必填品名
6.5fnskufnskustringXASSV21321必填FNSKU
6.6sku_attribute属性string红色必填属性
6.7seller_name店铺string店铺231必填店铺
6.8sys_wid仓库idinteger32必填仓库id
6.9ware_house_name仓库名称string仓库1必填仓库名称
6.10category1一级分类string手机1必填一级分类
6.11category2二级分类string手机2必填二级分类
6.12category3三级分类string手机3必填三级分类
6.13brand品牌string某为必填品牌
6.14attribute_text库存属性string全部必填库存属性
6.15product_type产品类型string辅料必填产品类型
6.16day_early_count期初库存(数量)number2450424必填期初库存(数量)
6.17day_early_cost期初库存(成本)number723024419.45必填期初库存(成本)
6.18purchase_in_count采购入库(数量)number30必填采购入库(数量)
6.19purchase_in_cost采购入库(成本)number22.5必填采购入库(成本)
6.20allocation_in_count调拨入库(数量)number—必填调拨入库(数量)
6.21allocation_in_cost调拨入库(成本)number0必填调拨入库(成本)
6.22return_goods_in_count退货入库(数量)number2必填退货入库(数量)
6.23return_goods_in_cost退货入库(成本)number0必填退货入库(成本)
6.24other_in_count其他入库(数量)number1000必填其他入库(数量)
6.25other_in_cost其他入库(成本)number0必填其他入库(成本)
6.26inventory_surplus_in_count盘盈入库(数量)number2必填盘盈入库(数量)
6.27inventory_surplus_in_cost盘盈入库(成本)number0必填盘盈入库(成本)
6.28adjustment_count库存调整(数量)number—必填库存调整(数量)
6.29adjustment_cost库存调整(成本)number0必填库存调整(成本)
6.30fba_out_countFBA出库(数量)number2必填FBA出库(数量)
6.31fba_out_costFBA出库(成本)number0必填FBA出库(成本)
6.32fbm_out_countFBM出库(数量)number3必填FBM出库(数量)
6.33fbm_out_costFBM出库(成本)number0必填FBM出库(成本)
6.34allocation_out_count调拨出库(数量)number2必填调拨出库(数量)
6.35allocation_out_cost调拨出库(成本)number0必填调拨出库(成本)
6.36purchase_return_count采购退货(数量)number—必填采购退货(数量)
6.37purchase_return_cost采购退货(成本)number0必填采购退货(成本)
6.38other_out_count其他出库(数量)number—必填其他出库(数量)
6.39other_out_cost其他出库(成本)number0必填其他出库(成本)
6.40inventory_deficit_out_count盘亏出库(数量)number—必填盘亏出库(数量)
6.41inventory_deficit_out_cost盘亏出库(成本)number0必填盘亏出库(成本)
6.42wfs_out_countWFS出库(数量)number—必填WFS出库(数量)
6.43wfs_out_costWFS出库(成本)number0必填WFS出库(成本)
6.44allocation_in_transit_count期末在途(数量)number1必填期末在途(数量)
6.45allocation_in_transit_cost期末在途(成本)number13必填期末在途(成本)
6.46day_end_count期末库存(数量)number2451454必填期末库存(数量)
6.47day_end_cost期末库存(成本)number723024441.95必填期末库存(成本)
6.48rotation_rate_count库存周转率(数量)number—必填库存周转率(数量)
6.49rotation_rate_cost库存周转率(成本)number0必填库存周转率(成本)
6.50rotation_day_count库存周转天数(数量)number—必填库存周转天数(数量)
6.51rotation_day_cost库存周转天数(成本)number—必填库存周转天数(成本)
6.52sales_ratio_count存销比(数量)number—必填存销比(数量)
6.53sales_ratio_cost存销比(成本)number—必填存销比(成本)
6.54cost_change_cost成本补录(成本)number0必填成本补录(成本)
6.55sales_rate动销率number—必填动销率
7total总数integer1必填总数

领星ERP的接口:库存报表 - 本地仓 - 历史报表 - 明细(/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseDetailList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。