/erp/sc/routing/finance/Refund/profitMonthRefund{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/finance/Refund/profitMonthRefund"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 200,
"start_date": "2020-01-01",
"end_date": "2024-08-05",
"asin_type": "1",
"sid": 109,
"sort_field": "asin",
"sort_type": "desc"
},
"responseExample": "{\n \"code\": 0,\n \"message\": \"success\",\n \"error_details\": [],\n \"request_id\": \"689584F6-8D7F-19F7-B11A-2AC55FA36B81\",\n \"response_time\": \"2021-05-10 21:07:17\",\n \"data\": {\n \"total\": 2,\n \"list\": [\n {\n \"asin_type\": 1,\n \"asin\": \"XXXX1\",\n \"refund_num\": \"27\",\n \"refund_rate\": \"2.05%\"\n },\n {\n \"asin_type\": 1,\n \"asin\": \"XXXX2\",\n \"refund_num\": \"0\",\n \"refund_rate\": \"0.00%\"\n }\n ]\n }\n}\n\n\n// asin_type = 2\n{\n \"code\": 0,\n \"message\": \"success\",\n \"error_details\": [],\n \"request_id\": \"E8BA08C6-EFE7-EE31-8870-7FDFC1EF6C89\",\n \"response_time\": \"2021-05-10 21:07:17\",\n \"data\": {\n \"total\": 2,\n \"list\": [\n {\n \"asin_type\": 2,\n \"asin\": \"AAAAA1;AAAAA2;AAAAA3\",\n \"parent_asin\": \"AAAAA\",\n \"refund_num\": \"34\",\n \"refund_rate\": \"1.77%\"\n },\n {\n \"asin_type\": 2,\n \"asin\": \"AAAAA1;AAAAA2;AAAAA4\",\n \"parent_asin\": \"AAAAA\",\n \"refund_num\": \"27\",\n \"refund_rate\": \"2.05%\"\n }\n ]\n }\n}"
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | asin_type | 1 asin | string | — | 必填 | 1 asin 2 父asin |
| 2 | offset | 分页偏移量 | integer | — | 必填 | 分页偏移量 |
| 3 | length | 分页条数 | integer | — | 必填 | 分页条数,上限200 |
| 4 | start_date | 起始日期 | string | — | 必填 | 起始日期 |
| 5 | end_date | 结束日期 | string | — | 必填 | 结束日期 |
| 6 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 7 | sort_field | 排序字段 | string | — | 可选 | 排序字段:asin |
| 8 | sort_type | desc 倒序 | string | — | 可选 | desc 倒序 asc 顺序 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 8D680B8B-3C6F-3E16-F055-73DC70EAD977 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | data | object | — | 必填 | |
| 6.1 | total | 总数 | integer | 2 | 必填 | 总数 |
| 6.2 | list | 明细 | array<object> | — | 必填 | 明细 |
| 6.2.1 | asin_type | asin_type | integer | 1 | 必填 | 1:asin 2:父asin |
| 6.2.2 | asin | asin | string | XXXX1 | 必填 | asin |
| 6.2.3 | parent_asin | 父asin | string | — | 可选 | 父asin asin_type=2的时候会返回 |
| 6.2.4 | refund_num | 退款量 | string | 27 | 必填 | 退款量 |
| 6.2.5 | refund_rate | 退款率 | string | 2.05% | 必填 | 退款率 |
领星ERP的接口:查询退款量(旧)(/erp/sc/routing/finance/Refund/profitMonthRefund),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。