查询商品出入库记录
系统相关界面
"界面路径:【库存】----【出入库记录】"
请求地址
| 环境 | 服务地址(HTTP/HTTPS) |
|---|---|
| V2正式环境(推荐) | https://gw.superboss.cc/router |
2022年4月1日以后申请的APP Key,统一使用V2正式环境的请求地址:https://gw.superboss.cc/router
公共参数
调用任何一个API都必须传入的参数,目前支持的公共参数有:
| 参数名称 | 参数类型 | 是否必须 | 参数描述 |
|---|---|---|---|
| method | string | 是 | API接口名称 |
| appKey | string | 是 | 分配给应用的AppKey |
| timestamp | string | 是 | 时间戳,时区为GMT+8,例如:2020-09-21 16:58:00。API服务端允许客户端请求最大时间误差为10分钟 |
| format | string | 否 | 响应格式。默认为json格式,可选值:json |
| version | string | 是 | API协议版本 可选值:1.0 |
| sign_method | string | 否 | 签名的摘要算法(默认 hmac),可选值为:hmac,md5,hmac-sha256。 |
| sign | string | 是 | 签名 |
| session | string | 是 | 授权会话信息 (即access_token,由系统分配) |
请求头
全部展开
参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded;charset=UTF-8
必填
API接口地址
全部展开
参数名
类型
描述
必填
method
string
erp.item.stock.in.out.list
必填
请求参数
全部展开
参数名
类型
描述
必填
orderType
integer
单据类型 0-库存调整
系统调整库存
0-库存调整
系统调整库存
7-暂存区清零 8-暂存区平移 9-采退取消 10-覆盖导入 11-增量导入 12-出库导入 13-销退收货 14-销退取消收货 18-清零货位库存
19-调拨出库 20-调拨入库 21-撤销发货 29-次品上架 30-次品下架
31-快速上架 32-混放上架 33-库存下架 34-库存盘点 37-订单拣选 38-订单发货 39-拣选归还 41-补货拣选 42-补货上架 43-采退拣选
44-移库上架 45-移库下架46-自由拣选 47-批发配货出库 48-批发配货拣选 49-库存加工 50-收货单打回 53-其它入库 54-其他出库
55-调拨拣选 59-其它上架 60-暂存区上架 61-波次下架 65-移箱上架 70-档口配货出库 71-档口配货拣选 75-质检出库 76-质检入库
80-移箱下架 87-按箱下架 88-拆箱下架
outerId
string
平台商家编码
warehouseId
long
仓库ID
operateTimeBegin
string
操作开始时间 格式为:yyyy-MM-dd HH:mm:ss
operateTimeEnd
string
操作结束时间 格式为:yyyy-MM-dd HH:mm:ss
pageSize
integer
分页数量
必填
pageNo
integer
当前页
必填
orderNumber
string
单据编号
请求示例
示例一:
{
"pageSize": integer,
"pageNo": integer
}
响应参数
全部展开
参数名
类型
描述
必填
msg
string
返回消息
必填
traceId
string
流水id
必填
total
long
返回总数
必填
code
string
返回码
必填
stockInOutRecordVos
array
数据列表