/basicOpen/openapi/salesOrder/refundOrder{
"operation": {
"method": "POST",
"path": "/basicOpen/openapi/salesOrder/refundOrder"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/openapi/salesOrder/refundOrder?access_token=value&sign=value×tamp=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"sid\": 17,\n \"amazonOrderId\": \"111-4279745-7077814\",\n \"purchaseDateLocal\": \"2025-10-24 20:17:13\",\n \"data\": [{\n \"orderItemId\": \"542711111546\",\n \"asin\": \"B081111CF\",\n \"sellerSku\": \"1704111123\",\n \"title\": \"xxxxxxxxxxx\",\n \"quantityOrdered\": 1,\n \"quantityShipped\": 1,\n \"reason\": \"Other\",\n \"asinUrl\": \"https://www.amazon.com/dp/B11111\",\n \"smallImageUrl\": \"\",\n \"unitPriceIcon\": \"$\",\n \"unitPriceAmount\": 192.78,\n \"itemList\": [{\n \"type\": \"Principal\",\n \"name\": \"商品\",\n \"currencyCode\": \"USD\",\n \"icon\": \"$\",\n \"amount\": 192.78,\n \"refundedPrice\": \"0.00\",\n \"returnAmount\": \"1999\"\n }],\n \"itemRefundTotal\": \"208.68\"\n }]\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "1ad812bb5273462c9d2077107ff7cd99.1757412110374",
"response_time": "2025-09-09 18:01:52",
"data": null
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | sid | 店铺id | number | — | Required | 店铺id |
| 2 | amazonOrderId | 亚马逊订单ID | string | — | Required | 亚马逊订单ID |
| 3 | purchaseDateLocal | 订购时间 | string | — | Required | 订购时间 |
| 4 | data | data | array<object> | — | Optional | |
| 4.1 | orderItemId | 商品行id | string | — | Required | 商品行id |
| 4.2 | asin | asin | string | — | Required | asin |
| 4.3 | sellerSku | sellerSku | string | — | Required | msku |
| 4.4 | title | 商品名称 | string | — | Required | 商品名称 |
| 4.5 | quantityOrdered | 下单数量 | number | — | Required | 下单数量 |
| 4.6 | quantityShipped | 到货数量 | number | — | Required | 到货数量 |
| 4.7 | reason | 退款原因 | string | — | Required | 退款原因 CustomerReturn GeneralAdjustment |
| 4.8 | asinUrl | asinUrl | string | — | Optional | asinUrl |
| 4.9 | smallImageUrl | 商品图片 | string | — | Optional | 商品图片 |
| 4.10 | unitPriceIcon | 商品单价货币符号 | string | — | Optional | 商品单价货币符号 |
| 4.11 | unitPriceAmount | 单价 | number | — | Optional | 单价 |
| 4.12 | itemList | 退款费用项目列表 | array<object> | — | Optional | 退款费用项目列表 |
| 4.12.1 | type | 费用类型 | string | — | Required | 费用类型 |
| 4.12.2 | name | 费用名称 | string | — | Optional | 费用名称 |
| 4.12.3 | currencyCode | 货币编码 | string | — | Required | 货币编码 |
| 4.12.4 | icon | 货币符号 | string | — | Optional | 货币符号 |
| 4.12.5 | amount | 金额 | number | — | Optional | 金额 |
| 4.12.6 | refundedPrice | 已申请退款金额 | string | — | Optional | 已申请退款金额 |
| 4.12.7 | returnAmount | 本次申请退款金额 | string | — | Required | 本次申请退款金额 |
| 4.13 | itemRefundTotal | itemRefundTotal | string | — | Required |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | number | 0 | Required | 状态码,0成功 |
| 2 | message | 提示信息 | string | success | Required | 提示信息 |
| 3 | error_details | 错误信息 | array<any> | [] | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 1ad812bb5273462c9d2077107ff7cd99.1757412110374 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2025-09-09 18:01:52 | Required | 响应时间 |
| 6 | data | data | object | — | Optional |
The 订单退款 API (/basicOpen/openapi/salesOrder/refundOrder) 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.