|
|
## 2、查询退货统计报表##
|
|
|
|
|
|
查询退货统计报表(/seller/getReturnGoodsRptList)
|
|
|
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|page|int|是|2|第几页|
|
|
|
|size|int|是|10|每页条数|
|
|
|
|type|int|否|1|1 日 2 周 3 月|
|
|
|
|reqTime|string|是|20150306|日报 月报 日期|
|
|
|
|beginTime|string|是|20150306|周报:开始日期|
|
|
|
|endTime|string|是|20150308|周报:结束日期|
|
|
|
|productSkn|int|是|1222|skn|
|
|
|
|productSkc|int|是|1222|skc|
|
|
|
|productSku|int|是|1222|sku|
|
|
|
|factoryCode|string|是|234234|出厂编号|
|
|
|
|sortId|int|是|12|产品分类 |
|
|
|
|shopId|int|否|17|是|店铺ID |
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://192.168.102.210:8088/platform/seller/getReturnGoodsRptList
|
|
|
|
|
|
## 请求样例数据
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{
|
|
|
"beginTime": "20160516",
|
|
|
"endTime": "20160528",
|
|
|
"type":2
|
|
|
}
|
|
|
正常返回:
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"additionInfo": {
|
|
|
"allAmount": 2977818.56,//退货商品金额
|
|
|
"allAmountRate": 29.56,//环比 乘100后的数据
|
|
|
"allAmountRateFlag":true //是否有环比值 true 是 false 否
|
|
|
"allNumber": 14747,//退货商品总数
|
|
|
"allNumberRate": 14//环比 乘100后的数据
|
|
|
"allNumberRateFlag":true //是否有环比值 true 是 false 否
|
|
|
"lastAllAmount": 2977323.78,//上期金额总数
|
|
|
"lastAllNumber": 14746//上期商品总数
|
|
|
"returnAmountRate":12.12//退货率
|
|
|
"returnAmountRateFlag":true //是否有环比值 true 是 false 否
|
|
|
"returnRingRate":1.1//退货率环比
|
|
|
"returnRingRateFlag":true //是否有环比值 true 是 false 否
|
|
|
},
|
|
|
"list": [
|
|
|
{
|
|
|
"allAmounts": 2970434.16,//汇总金额
|
|
|
"allNums": 14731,//汇总商品数
|
|
|
"dateId": "20160518"//日期
|
|
|
},
|
|
|
{
|
|
|
"allAmounts": 295.04,
|
|
|
"allNums": 4,
|
|
|
"dateId": "20160525"
|
|
|
}
|
|
|
],
|
|
|
"page": 0,
|
|
|
"size": 0,
|
|
|
"total": 0,
|
|
|
"totalPage": 0
|
|
|
},
|
|
|
"md5": "6bed08aeaa2b44e6238f889d007c358d",
|
|
|
"message": "getOrdersGoodsRptForApi result"
|
|
|
}
|
|
|
异常返回:
|
|
|
{
|
|
|
"code": 405,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "getOrdersGoodsRptForApi"
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|