/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}"
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | sys_wid | 系统仓库id | integer | — | 可选 | 系统仓库id,多个用英文逗号分隔 |
| 2 | start_date | 开始时间 | string | — | 必填 | 开始时间,格式:Y-m-d |
| 3 | end_date | 结束时间 | string | — | 必填 | 结束时间,格式:Y-m-d |
| 4 | offset | 分页偏移量 | integer | — | 必填 | 分页偏移量,默认0 |
| 5 | length | 分页长度 | integer | — | 必填 | 分页长度,默认15 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码, 0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 8D680B8B-3C6F-3E16-F055-73DC70EAD977 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 6.1 | spu | spu | string | 1 | 必填 | SPU |
| 6.2 | spu_name | 款名 | string | 手机 | 必填 | 款名 |
| 6.3 | sku | sku | string | SSS | 必填 | SKU |
| 6.4 | product_name | 品名 | string | 商品名 | 必填 | 品名 |
| 6.5 | fnsku | fnsku | string | XASSV21321 | 必填 | FNSKU |
| 6.6 | sku_attribute | 属性 | string | 红色 | 必填 | 属性 |
| 6.7 | seller_name | 店铺 | string | 店铺231 | 必填 | 店铺 |
| 6.8 | sys_wid | 仓库id | integer | 32 | 必填 | 仓库id |
| 6.9 | ware_house_name | 仓库名称 | string | 仓库1 | 必填 | 仓库名称 |
| 6.10 | category1 | 一级分类 | string | 手机1 | 必填 | 一级分类 |
| 6.11 | category2 | 二级分类 | string | 手机2 | 必填 | 二级分类 |
| 6.12 | category3 | 三级分类 | string | 手机3 | 必填 | 三级分类 |
| 6.13 | brand | 品牌 | string | 某为 | 必填 | 品牌 |
| 6.14 | attribute_text | 库存属性 | string | 全部 | 必填 | 库存属性 |
| 6.15 | product_type | 产品类型 | string | 辅料 | 必填 | 产品类型 |
| 6.16 | day_early_count | 期初库存(数量) | number | 2450424 | 必填 | 期初库存(数量) |
| 6.17 | day_early_cost | 期初库存(成本) | number | 723024419.45 | 必填 | 期初库存(成本) |
| 6.18 | purchase_in_count | 采购入库(数量) | number | 30 | 必填 | 采购入库(数量) |
| 6.19 | purchase_in_cost | 采购入库(成本) | number | 22.5 | 必填 | 采购入库(成本) |
| 6.20 | allocation_in_count | 调拨入库(数量) | number | — | 必填 | 调拨入库(数量) |
| 6.21 | allocation_in_cost | 调拨入库(成本) | number | 0 | 必填 | 调拨入库(成本) |
| 6.22 | return_goods_in_count | 退货入库(数量) | number | 2 | 必填 | 退货入库(数量) |
| 6.23 | return_goods_in_cost | 退货入库(成本) | number | 0 | 必填 | 退货入库(成本) |
| 6.24 | other_in_count | 其他入库(数量) | number | 1000 | 必填 | 其他入库(数量) |
| 6.25 | other_in_cost | 其他入库(成本) | number | 0 | 必填 | 其他入库(成本) |
| 6.26 | inventory_surplus_in_count | 盘盈入库(数量) | number | 2 | 必填 | 盘盈入库(数量) |
| 6.27 | inventory_surplus_in_cost | 盘盈入库(成本) | number | 0 | 必填 | 盘盈入库(成本) |
| 6.28 | adjustment_count | 库存调整(数量) | number | — | 必填 | 库存调整(数量) |
| 6.29 | adjustment_cost | 库存调整(成本) | number | 0 | 必填 | 库存调整(成本) |
| 6.30 | fba_out_count | FBA出库(数量) | number | 2 | 必填 | FBA出库(数量) |
| 6.31 | fba_out_cost | FBA出库(成本) | number | 0 | 必填 | FBA出库(成本) |
| 6.32 | fbm_out_count | FBM出库(数量) | number | 3 | 必填 | FBM出库(数量) |
| 6.33 | fbm_out_cost | FBM出库(成本) | number | 0 | 必填 | FBM出库(成本) |
| 6.34 | allocation_out_count | 调拨出库(数量) | number | 2 | 必填 | 调拨出库(数量) |
| 6.35 | allocation_out_cost | 调拨出库(成本) | number | 0 | 必填 | 调拨出库(成本) |
| 6.36 | purchase_return_count | 采购退货(数量) | number | — | 必填 | 采购退货(数量) |
| 6.37 | purchase_return_cost | 采购退货(成本) | number | 0 | 必填 | 采购退货(成本) |
| 6.38 | other_out_count | 其他出库(数量) | number | — | 必填 | 其他出库(数量) |
| 6.39 | other_out_cost | 其他出库(成本) | number | 0 | 必填 | 其他出库(成本) |
| 6.40 | inventory_deficit_out_count | 盘亏出库(数量) | number | — | 必填 | 盘亏出库(数量) |
| 6.41 | inventory_deficit_out_cost | 盘亏出库(成本) | number | 0 | 必填 | 盘亏出库(成本) |
| 6.42 | wfs_out_count | WFS出库(数量) | number | — | 必填 | WFS出库(数量) |
| 6.43 | wfs_out_cost | WFS出库(成本) | number | 0 | 必填 | WFS出库(成本) |
| 6.44 | allocation_in_transit_count | 期末在途(数量) | number | 1 | 必填 | 期末在途(数量) |
| 6.45 | allocation_in_transit_cost | 期末在途(成本) | number | 13 | 必填 | 期末在途(成本) |
| 6.46 | day_end_count | 期末库存(数量) | number | 2451454 | 必填 | 期末库存(数量) |
| 6.47 | day_end_cost | 期末库存(成本) | number | 723024441.95 | 必填 | 期末库存(成本) |
| 6.48 | rotation_rate_count | 库存周转率(数量) | number | — | 必填 | 库存周转率(数量) |
| 6.49 | rotation_rate_cost | 库存周转率(成本) | number | 0 | 必填 | 库存周转率(成本) |
| 6.50 | rotation_day_count | 库存周转天数(数量) | number | — | 必填 | 库存周转天数(数量) |
| 6.51 | rotation_day_cost | 库存周转天数(成本) | number | — | 必填 | 库存周转天数(成本) |
| 6.52 | sales_ratio_count | 存销比(数量) | number | — | 必填 | 存销比(数量) |
| 6.53 | sales_ratio_cost | 存销比(成本) | number | — | 必填 | 存销比(成本) |
| 6.54 | cost_change_cost | 成本补录(成本) | number | 0 | 必填 | 成本补录(成本) |
| 6.55 | sales_rate | 动销率 | number | — | 必填 | 动销率 |
| 7 | total | 总数 | integer | 1 | 必填 | 总数 |
领星ERP的接口:库存报表 - 本地仓 - 历史报表 - 明细(/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseDetailList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。