/erp/sc/routing/inventoryLog/WareHouseReport/getOverSeaDetailList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/inventoryLog/WareHouseReport/getOverSeaDetailList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 15,
"start_date": "2022-01-01",
"end_date": "2024-08-05",
"sys_wid": "9"
},
"responseExample": "{\n \"code\": 0,\n \"message\": \"success\", \n \"error_details\": [],\n \"request_id\": \"557581a380f4447b959d4adf777dfa09\",\n \"response_time\": \"2022-12-21 18:44:54\"\n \"request_id\": \"A42097F7-3400-BD9F-2A11-FED53ADD955A\",\n \"data\": [{\n \"id\": 4387598,\n \"product_id\": 8,\n \"ware_house_name\": \"西邮智仓 美国洛杉矶\",\n \"date_locale\": \"2022-10-15\",\n \"attribute\": 1,\n \"purchase_in_count\": \"0\",\n \"allocation_in_count\": \"0\",\n \"return_goods_in_count\": \"0\",\n \"pickout_in_count\": \"0\",\n \"other_in_count\": \"0\",\n \"adjustment_count\": \"0\",\n \"fba_out_count\": \"0\",\n \"fbm_out_count\": \"0\",\n \"allocation_out_count\": \"0\",\n \"purchase_return_count\": \"0\",\n \"other_out_count\": \"0\",\n \"cost_change_count\": \"0\",\n \"fnsku\": \"\",\n \"api_sku\": \"\",\n \"sku\": \"123713811-11\",\n \"product_name\": \"[演示数据]USB 壁式充电器 2.1A/5V 双端口 立方体电源适配器充电器插头充电块替换件\",\n \"is_combo\": 0,\n \"is_aux\": 0,\n \"api_day_early_count\": 0,\n \"api_day_end_count\": 0,\n \"uk\": \"39-8-0--1\",\n \"seller_id\": \"0\",\n \"inventory_surplus_in\": \"0\",\n \"wfs_out_count\": \"0\",\n \"bid\": 1,\n \"cid\": 3,\n \"different_count\": -100,\n \"global_tags\": \"\",\n \"seller_name\": \"\",\n \"brand\": \"\",\n \"category\": \"缺失的品牌\\\\缺失的品牌\",\n \"category1\": \"缺失的品牌\",\n \"category2\": \"缺失的品牌\",\n \"category3\": \"\",\n \"attribute_text\": \"可售\",\n \"day_early_count\": 100,\n \"day_end_count\": 100,\n \"product_type\": \"普通商品\",\n \"sys_wid\": 39,\n \"day_early_cost\": 0,\n \"purchase_in_cost\": 0,\n \"allocation_in_cost\": 0,\n \"other_in_cost\": 0,\n \"inventory_surplus_in_cost\": 0,\n \"return_goods_in_cost\": 0,\n \"pickout_in_cost\": 0,\n \"adjustment_cost\": 0,\n \"fba_out_cost\": 0,\n \"fbm_out_cost\": 0,\n \"other_out_cost\": 0,\n \"allocation_out_cost\": 0,\n \"purchase_return_cost\": 0,\n \"inventory_deficit_out_cost\": 0,\n \"cost_change_cost\": 0,\n \"wfs_out_cost\": 0,\n \"day_end_cost\": 0,\n \"rotation_rate_cost\": 0,\n \"rotation_day_cost\": 0,\n \"stocking_in_transit_cost\": 0,\n \"nventory_surplus_in_count\": \"0\",\n \"inventory_deficit_out_count\": \"0\",\n \"rotation_rate_count\": \"0.0000\",\n \"rotation_day_count\": \"0.00\",\n \"stocking_in_transit_counst\": 0,\n \"product_count\": 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 | sku | sku | string | SKU-1 | 必填 | SKU |
| 6.2 | api_sku | 第三方SKU | string | ASVSDSA-1 | 必填 | 第三方SKU |
| 6.3 | product_name | 品名 | string | 手机 | 必填 | 品名 |
| 6.4 | fnsku | fnsku | string | SDSADSV123 | 必填 | FNSKU |
| 6.5 | seller_name | 店铺 | string | 店铺1 | 必填 | 店铺 |
| 6.6 | sys_wid | 仓库id | integer | 23 | 必填 | 仓库id |
| 6.7 | ware_house_name | 仓库名称 | string | 仓库1 | 必填 | 仓库名称 |
| 6.8 | category1 | 一级分类 | string | 分类1 | 必填 | 一级分类 |
| 6.9 | category2 | 二级分类 | string | 分类2 | 必填 | 二级分类 |
| 6.10 | category3 | 三级分类 | string | 分类3 | 必填 | 三级分类 |
| 6.11 | brand | 品牌 | string | 某果 | 必填 | 品牌 |
| 6.12 | attribute_text | 库存属性 | string | 可售 | 必填 | 库存属性 |
| 6.13 | product_type | 产品类型 | string | 辅料 | 必填 | 产品类型 |
| 6.14 | day_early_count | 期初库存(数量) | number | 2450424 | 必填 | 期初库存(数量) |
| 6.15 | day_early_cost | 期初库存(成本) | number | 723024419.45 | 必填 | 期初库存(成本) |
| 6.16 | api_day_early_count | 第三方期初库存(数量)第三方只有数量 | number | — | 必填 | 第三方期初库存(数量)第三方只有数量 |
| 6.17 | api_day_end_count | 第三方期末库存(数量)第三方只有数量 | number | — | 必填 | 第三方期末库存(数量)第三方只有数量 |
| 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 | — | 必填 | 退货入库(数量) |
| 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 | — | 必填 | 盘盈入库(数量) |
| 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 | — | 必填 | FBA出库(数量) |
| 6.31 | fba_out_cost | FBA出库(成本) | number | 0 | 必填 | FBA出库(成本) |
| 6.32 | fbm_out_count | FBM出库(数量) | number | — | 必填 | FBM出库(数量) |
| 6.33 | fbm_out_cost | FBM出库(成本) | number | 0 | 必填 | FBM出库(成本) |
| 6.34 | allocation_out_count | 调拨出库(数量) | number | — | 必填 | 调拨出库(数量) |
| 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 | stocking_in_transit_count | 期末在途(数量) | number | — | 必填 | 期末在途(数量) |
| 6.49 | stocking_in_transit_cost | 期末在途(成本) | number | 0 | 必填 | 期末在途(成本) |
| 6.50 | rotation_rate_count | 库存周转率(数量) | number | 0 | 必填 | 库存周转率(数量) |
| 6.51 | rotation_rate_cost | 库存周转率(成本) | number | 0 | 必填 | 库存周转率(成本) |
| 6.52 | rotation_day_count | 库存周转天数(数量) | number | — | 必填 | 库存周转天数(数量) |
| 6.53 | rotation_day_cost | 库存周转天数(成本) | number | — | 必填 | 库存周转天数(成本) |
| 6.54 | sales_ratio_count | 存销比(数量) | number | — | 必填 | 存销比(数量) |
| 6.55 | sales_ratio_cost | 存销比(成本) | number | — | 必填 | 存销比(成本) |
| 6.56 | cost_change_cost | 成本补录(成本) | number | 0 | 必填 | 成本补录(成本) |
| 6.57 | sales_rate | 动销率 | number | — | 必填 | 动销率 |
| 7 | total | 记录行数 | integer | 510 | 必填 | 记录行数 |
领星ERP的接口:库存报表 - 海外仓 - 历史报表 - 明细(/erp/sc/routing/inventoryLog/WareHouseReport/getOverSeaDetailList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。