仓储费用查询
1、功能名称:查询仓储费用
2、功能描述:查询仓储费用
3、请求地址:https://ssl.glitzcloud.com/agent/v1/api/charge/storageCharge
 测试地址:http://gztest.glitzcloud.com/agent/v1/api/charge/storageCharge
4、请求方式:POST
5、请求参数
| 名称 | 类型 | 必填 | 示例值 | 描述 |
|---|---|---|---|---|
| month | 否 | string | 2024-08 | 按月查询,都不传默认查询今天 |
| date | 否 | string | 2022-05-17 | 按天查询,都不传默认查询今天 |
6、请求示例
{
"store_name": "TWUSA01",
"format": "json",
"apikey": "85082f5f62a811e684f500163e06045f",
"secretkey": "kaifa",
"randoms": 1931,
"sign": "470c59856a790dc36594044c89151f40",
"date": "2022-02-19", // 二选一
"month": "2024-08" // 二选一
}
7、返回格式:JSON
8、返回示例:
正确时的返回JSON数据包如下:
{
"status": 200,
"reqMsg": "ok",
"result": [
{
"product_id": "9859",
"product_sn": "NEWKEIGO001",
"cost": 26.8,
"date": "2024-08-01"
},
{
"product_id": "23621",
"product_sn": "KEIGO0422",
"cost": 8.35,
"date": "2024-08-01"
}
]
}
9、返回参数说明:
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| product_id | string | 23857 | 产品ID |
| product_sn | string | 011200 | 产品sn |
| cost | float | 0.00000 | 仓储费用 |
| date | string | 2024-08-01 | 日期 |
