/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}"
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | asin_type | 1 asin | string | — | Required | 1 asin 2 父asin |
| 2 | offset | 分页偏移量 | integer | — | Required | 分页偏移量 |
| 3 | length | 分页条数 | integer | — | Required | 分页条数,上限200 |
| 4 | start_date | 起始日期 | string | — | Required | 起始日期 |
| 5 | end_date | 结束日期 | string | — | Required | 结束日期 |
| 6 | sid | 店铺id | integer | — | Required | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 7 | sort_field | 排序字段 | string | — | Optional | 排序字段:asin |
| 8 | sort_type | desc 倒序 | string | — | Optional | desc 倒序 asc 顺序 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 8D680B8B-3C6F-3E16-F055-73DC70EAD977 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | data | object | — | Required | |
| 6.1 | total | 总数 | integer | 2 | Required | 总数 |
| 6.2 | list | 明细 | array<object> | — | Required | 明细 |
| 6.2.1 | asin_type | asin_type | integer | 1 | Required | 1:asin 2:父asin |
| 6.2.2 | asin | asin | string | XXXX1 | Required | asin |
| 6.2.3 | parent_asin | 父asin | string | — | Optional | 父asin asin_type=2的时候会返回 |
| 6.2.4 | refund_num | 退款量 | string | 27 | Required | 退款量 |
| 6.2.5 | refund_rate | 退款率 | string | 2.05% | Required | 退款率 |
The 查询退款量(旧) API (/erp/sc/routing/finance/Refund/profitMonthRefund) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.