入库上架查询
1、功能名称:入库上架查询
2、功能描述:入库上架查询
3、请求地址:https://ssl.glitzcloud.com/agent/v1/asn/storage/putawayQuery
测试地址:http://gztest.glitzcloud.com/agent/v1/asn/storage/putawayQuery
4、请求方式:POST
5、请求参数
| 名称 | 类型 | 必填 | 示例值 | 更多示例 | 描述 |
|---|---|---|---|---|---|
| store_name | String | 是 | The Warehouse USA | 仓库名称 | |
| storage_sn | String | 否 | GCI12092500001 | GCI12092500001 | 入库单单号 |
| product_sn | String | 否 | chanpin456 | chanpin456 | SKU |
| upc | String | 否 | X002IZZIWL | X002IZZIWL | UPC |
6、请求示例
{
"apikey": "85083bf162a81684f50163e06045f",
"storage_sn": "GCI12092500002",
"product_sn": "chanpin456",
"secretkey": "85083bfa811e684f500163e06045f",
"store_name": "TWUSA01",
"sign": "c78fda25eafdda37f8a24312909362e"
}
7、返回格式:JSON
8、返回示例:
正确时的返回JSON数据包如下:
{
"status": 200,
"reqMsg": "ok",
"result": [
{
"storage_sn": "GCI07162500003",
"product_sn": "chanpin123",
"upc": "",
"forecast_qty": 100,
"pending_receive_qty": 0,
"actual_received_qty": 100,
"to_be_shelf_qty ": 0,
"on_shelf_qty": 100
},
{
"storage_sn": "GCI07162500003",
"product_sn": "chanpin456",
"upc": "",
"forecast_qty": 100,
"pending_receive_qty": 0,
"actual_received_qty": 100,
"to_be_shelf_qty ": 0,
"on_shelf_qty": 100
}
]
}
错误时的返回JSON数据包如下:
{
"status": 400,
"reqMsg": "请输入 storage_sn, product_sn, upc 其中之一",
"result": []
}
9、返回参数说明:
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| storage_sn | String | GCI16091800002 | 入库单号 |
| product_sn | String | chanpin456 | SKU |
| UPC | String | X002IZZIWL | UPC |
| forecast_qty | String | 40 | 预报入库数量 |
| pending_receive_qty | String | 10 | 待入库数量 |
| actual_received_qty | String | 30 | 已入库数量 |
| to_be_shelf_qty | String | 0 | 待上架数量 |
| on_shelf_qty | String | 30 | 已上架数量 |