Lingxing
切换旧版

查询调整单列表

POST/erp/sc/routing/inventoryReceipt/StorageAdjustment/getStorageAdjustOrderList

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/inventoryReceipt/StorageAdjustment/getStorageAdjustOrderListHTTPSPOST1

请求参数

search_date_typeinteger
时间类型:
1 创建时间
2 调整时间
3 更新时间
start_datestring
开始日期,格式:Y-m-d
end_datestring
结束日期,格式:Y-m-d
order_snstring
调整单号,多个使用英文逗号分隔
adjust_statusinteger
单据状态:
5 待提交
10 待调整
20 已完成
30 已删除
121 待审批
122 已驳回
widstring
系统仓库id,多个使用英文逗号分隔
typeinteger
调整类型:
0 数量调整
1 换标调整
2 sku调整
pageinteger
当前页码,默认1
page_sizeinteger
分页条数,默认20

请求示例

{
    "wid": "1469",
    "type": 0,
    "order_sn": "AD240730002",
    "search_date_type": 1,
    "start_date": "2024-07-30",
    "end_date": "2024-07-30",
    "adjust_status": 20,
    "page": 1,
    "page_size": 20
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 80B5BD25-FD74-62D2-84C1-75A6D838A2CB
response_timestring必填
响应时间
示例 2022-07-01 17:17:21
totalinteger必填
查询总数
示例 498
dataarray<object>必填
响应数据
隐藏子属性
order_snstring必填
单据号
示例 AD220624005
widinteger必填
仓库id
示例 1
ware_house_namestring必填
仓库名称
示例 仓库1
typeinteger必填
调整类型:
0 数量调整
1 换标调整
2 sku调整
示例 1
type_textstring必填
调整类型文本
示例 换标调整
statusinteger必填
单据状态:
5 待提交
10 待调整
20 已完成
30 已删除
121 待审批
122 已驳回
示例 20
status_textstring必填
单据状态说明
示例 已完成
remarkstring必填
单据备注
create_uidinteger必填
创建人id
示例 540
create_realnamestring必填
创建人名称
示例 张三
create_timestring必填
创建时间
示例 2022-06-24 19:17:22
commit_uidinteger必填
提交人id
示例 540
commit_realnamestring必填
提交人名称
示例 张三
commit_timestring必填
提交时间
示例 2022-06-24 19:17:22
adjustment_uidinteger必填
调整人id
示例 540
adjustment_realnamestring必填
调整人名称
示例 张三
adjustment_timestring必填
调整时间
示例 2022-06-24 19:17:22
opt_uidinteger必填
单据最后操作人id
示例 540
opt_realnamestring必填
单据最后操作人名称
示例 张三
opt_timestring必填
单据最后操作时间
示例 1656069442
increment_timestring必填
单据增量时间
item_listarray<object>必填
单据明细列表
隐藏子属性
skustring必填
本地产品sku
示例 SKU72711C6
product_idinteger必填
本地产品id
示例 2045
product_namestring必填
品名
示例 [演示数据]SanDisk Extreme microSD UHS-I带适配器
pic_urlstring必填
图片链接
示例 https://XXXX/xxxx.jpg
product_remarkstring必填
产品备注
示例 产品备注
fnskustring必填
fnsku
示例 FNAE6BDA8
seller_idstring必填
店铺id
seller_namestring必填
店铺名称
示例 店铺2
country_namestring必填
店铺所属国家
示例 加拿大
adjustment_valid_numinteger必填
可用调整量
示例 2
available_bin_listarray<object>必填
出库的可用仓位列表【只有换标调整才有该字段】
隐藏子属性
whb_codestring必填
仓位编码
示例 ts_valid
whb_code_namestring必填
仓位编码名称
示例 可用暂存
product_numinteger必填
出库数量
示例 2
to_skustring必填
调整的sku【只有SKU调整才有该字段】
示例 SKU72711C62
to_product_namestring必填
调整的品名【只有SKU调整才有该字段】
示例 [演示数据]SanDisk Extreme microSD UHS-I带适配器
to_fnskustring必填
调整的fnsku【数量调整没有该字段】
to_seller_idstring必填
调整的店铺id【数量调整没有该字段】
示例 1
to_seller_namestring必填
调整的店铺名称【数量调整没有该字段】
示例 店铺1
to_country_namestring必填
调整的店铺所属国家【数量调整没有该字段】
示例 美国
to_available_binstring必填
【废弃字段】换标的入库仓位【只有换标调整才有该字段】
示例 ts_valid
to_available_bin_namestring必填
【废弃字段】换标的入库仓位名称【只有换标调整才有该字段】
示例 可用暂存
available_binstring必填
可用仓位【只有数量调整有该字段】
示例 ts_valid
available_bin_namestring必填
可用仓位名称【只有数量调整有该字段】
示例 可用暂存
inferior_binstring必填
次品仓位【只有数量调整有该字段】
示例 ts_bad
inferior_bin_namestring必填
次品仓位名称【只有数量调整有该字段】
示例 次品暂存
adjustment_bad_numinteger必填
次品调整量【只有数量调整有该字段】
示例 2
to_available_bin_listarray<object>必填
换标的入库仓位列表
隐藏子属性
whb_codestring必填
仓位编码
示例 T-1-2
whb_code_namestring必填
仓位名称
示例 T-1-2
product_numinteger必填
入库数量
示例 4

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "99927EBF-3866-D31E-EB2B-5129DA597DAD",
    "response_time": "2023-12-21 10:55:16",
    "data": [
        {
            "order_sn": "AD231220001",
            "type": 1,
            "wid": 1,
            "status": 20,
            "remark": "",
            "create_uid": 10317908,
            "create_time": "2023-12-20 15:48:11",
            "commit_uid": 10317908,
            "commit_time": "2023-12-20 15:48:11",
            "adjustment_uid": 10317908,
            "adjustment_time": "2023-12-20 15:48:11",
            "opt_uid": 10317908,
            "opt_time": "2023-12-20 15:48:11",
            "company_id": 901202594714743296,
            "increment_time": "2023-12-20 15:48:11",
            "type_text": "换标调整",
            "ware_house_name": "默认仓库29",
            "status_text": "已完成",
            "create_realname": "张三",
            "commit_realname": "张三",
            "adjustment_realname": "张三",
            "opt_realname": "张三",
            "item_list": [
                {
                    "product_id": 23060,
                    "sku": "12-200",
                    "product_name": "产品1",
                    "pic_url": "",
                    "adjustment_valid_num": 2,
                    "product_remark": "",
                    "fnsku": "",
                    "seller_name": "",
                    "country_name": "",
                    "seller_id": "0",
                    "available_bin_list": [],
                    "to_fnsku": "B0BB389BKQ",
                    "to_seller_name": "8pspeed-11",
                    "to_country_name": "美国",
                    "to_seller_id": "101",
                    "to_available_bin": "",
                    "to_available_bin_name": "",
                    "to_available_bin_list": [
                        {
                            "whb_code": "ts_valid",
                            "whb_code_name": "可用暂存",
                            "product_num": 2
                        }
                    ]
                }
            ]
        }
    ],
    "total": 1
}