Lingxing
切换旧版

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

POST/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseDetailList

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseDetailListHTTPSPOST1

请求参数

sys_widinteger
系统仓库id,多个用英文逗号分隔
start_datestring必填
开始时间,格式:Y-m-d
end_datestring必填
结束时间,格式:Y-m-d
offsetinteger必填
分页偏移量,默认0
lengthinteger必填
分页长度,默认15

请求示例

{
    "start_date": "2022-01-01",
    "end_date": "2022-08-05",
    "offset": 0,
    "length": 15,
    "sys_wid": "1"
}

返回结果

Json Object

codeinteger必填
状态码, 0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 8D680B8B-3C6F-3E16-F055-73DC70EAD977
response_timestring必填
响应时间
示例 2020-05-18 11:23:47
dataarray<object>必填
响应数据
隐藏子属性
spustring必填
SPU
示例 1
spu_namestring必填
款名
示例 手机
skustring必填
SKU
示例 SSS
product_namestring必填
品名
示例 商品名
fnskustring必填
FNSKU
示例 XASSV21321
sku_attributestring必填
属性
示例 红色
seller_namestring必填
店铺
示例 店铺231
sys_widinteger必填
仓库id
示例 32
ware_house_namestring必填
仓库名称
示例 仓库1
category1string必填
一级分类
示例 手机1
category2string必填
二级分类
示例 手机2
category3string必填
三级分类
示例 手机3
brandstring必填
品牌
示例 某为
attribute_textstring必填
库存属性
示例 全部
product_typestring必填
产品类型
示例 辅料
day_early_countnumber必填
期初库存(数量)
示例 2450424
day_early_costnumber必填
期初库存(成本)
示例 723024419.45
purchase_in_countnumber必填
采购入库(数量)
示例 30
purchase_in_costnumber必填
采购入库(成本)
示例 22.5
allocation_in_countnumber必填
调拨入库(数量)
allocation_in_costnumber必填
调拨入库(成本)
示例 0
return_goods_in_countnumber必填
退货入库(数量)
示例 2
return_goods_in_costnumber必填
退货入库(成本)
示例 0
other_in_countnumber必填
其他入库(数量)
示例 1000
other_in_costnumber必填
其他入库(成本)
示例 0
inventory_surplus_in_countnumber必填
盘盈入库(数量)
示例 2
inventory_surplus_in_costnumber必填
盘盈入库(成本)
示例 0
adjustment_countnumber必填
库存调整(数量)
adjustment_costnumber必填
库存调整(成本)
示例 0
fba_out_countnumber必填
FBA出库(数量)
示例 2
fba_out_costnumber必填
FBA出库(成本)
示例 0
fbm_out_countnumber必填
FBM出库(数量)
示例 3
fbm_out_costnumber必填
FBM出库(成本)
示例 0
allocation_out_countnumber必填
调拨出库(数量)
示例 2
allocation_out_costnumber必填
调拨出库(成本)
示例 0
purchase_return_countnumber必填
采购退货(数量)
purchase_return_costnumber必填
采购退货(成本)
示例 0
other_out_countnumber必填
其他出库(数量)
other_out_costnumber必填
其他出库(成本)
示例 0
inventory_deficit_out_countnumber必填
盘亏出库(数量)
inventory_deficit_out_costnumber必填
盘亏出库(成本)
示例 0
wfs_out_countnumber必填
WFS出库(数量)
wfs_out_costnumber必填
WFS出库(成本)
示例 0
allocation_in_transit_countnumber必填
期末在途(数量)
示例 1
allocation_in_transit_costnumber必填
期末在途(成本)
示例 13
day_end_countnumber必填
期末库存(数量)
示例 2451454
day_end_costnumber必填
期末库存(成本)
示例 723024441.95
rotation_rate_countnumber必填
库存周转率(数量)
rotation_rate_costnumber必填
库存周转率(成本)
示例 0
rotation_day_countnumber必填
库存周转天数(数量)
rotation_day_costnumber必填
库存周转天数(成本)
sales_ratio_countnumber必填
存销比(数量)
sales_ratio_costnumber必填
存销比(成本)
cost_change_costnumber必填
成本补录(成本)
示例 0
sales_ratenumber必填
动销率
totalinteger必填
总数
示例 1

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details":[],
    "request_id": "BDF6F403-1998-7E7F-62C2-369C15FEE14D",
    "response_time": "2022-12-21 18:44:54"
    "data": [{
        "spu_name": "",
        "sku": "1544220",
        "product_name": "kmkm",
        "fnsku": "",
        "sku_attribute": "",
        "seller_name": "",
        "category1": "",
        "category2": "",
        "category3": "",
        "brand": "",
        "attribute_text": "可售",
        "product_type": "普通商品",
        "sys_wid": "3879",
        "ware_house_name": "dabing-test",
        "day_early_count": 1,
        "day_early_cost": "",
        "purchase_in_count": 0,
        "purchase_in_cost": "",
        "allocation_in_count": 0,
        "allocation_in_cost": "",
        "return_goods_in_count": 0,
        "return_goods_in_cost": "",
        "other_in_count": 0,
        "other_in_cost": "",
        "inventory_surplus_in_count": 0,
        "inventory_surplus_in_cost": "",
        "adjustment_count": 0,
        "adjustment_cost": "",
        "fba_out_count": 0,
        "fba_out_cost": "",
        "fbm_out_count": 0,
        "fbm_out_cost": "",
        "allocation_out_count": 0,
        "allocation_out_cost": "",
        "purchase_return_count": 0,
        "purchase_return_cost": "",
        "other_out_count": 0,
        "other_out_cost": "",
        "inventory_deficit_out_count": 0,
        "inventory_deficit_out_cost": "",
        "wfs_out_count": 0,
        "wfs_out_cost": "",
        "allocation_in_transit_count": 0,
        "allocation_in_transit_cost": "",
        "day_end_count": 1,
        "day_end_cost": "",
        "rotation_rate_count": "0.0000",
        "rotation_rate_cost": "",
        "rotation_day_count": 0,
        "rotation_day_cost": "",
        "sales_ratio_count": 0,
        "sales_ratio_cost": "",
        "cost_change_cost": 0
    }],
    "total": 1
}