Appearance
7.3 查询售后详情
接口说明:
| Method | URL | ContentType |
|---|---|---|
| GET | /api/v1/aftersale/detail | application/json |
URL参数说明:
| 字段名 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
| afterSaleCode | String | 是 | "RO12345566" | 售后单号 |
返回结果说明:
| 参数 | 类型说明 | 描述 |
|---|---|---|
| projectId | Integer | 项目Id |
| afterSaleCode | string | 售后单号 |
| orderCode | string | 订单编号 |
| applyType | Integer | 申请类型 |
| applyTypeDesc | string | 申请类型描述 |
| auditStatus | string | 审核状态 |
| auditStatusDesc | string | 审核状态描述 |
| auditTime | string | 审核时间 |
| status | string | 状态 |
| statusDesc | string | 状态描述 |
| applyTime | string | 申请时间 |
| applyReason | string | 申请原因 |
| pickUpDesc | string | 取件类型描述 |
| reasonPic | Array[String] | 原因图片 |
| skus | Array[Object] | 商品信息 |
| addressInfos | Array[Object] | 地址信息 |
内部对象说明
1. skus 对象 (商品信息)
| 参数 | 类型说明 | 描述 |
|---|---|---|
| sku | string | 商品编码 |
| skuName | string | 商品名称 |
| price | BigDecimal | 单价 |
| num | Integer | 数量 |
| mainPic | string | 商品主图 |
| categoryCode | string | 分类编码 |
| categoryName | string | 分类名称 |
1. addressInfos 对象 (地址信息)
| 参数 | 类型说明 | 描述 |
|---|---|---|
| addressType | Integer | 地址类型 (1:科力普退件邮寄地址,2:客户,3:换货重新邮寄地址) |
| addressTypeDesc | string | 地址类型描述 (科力普退件邮寄地址,客户,换货重新邮寄地址) |
| province | string | 省 |
| city | string | 市 |
| district | string | 区/县 |
| address | string | 地址 |
| receiver | string | 姓名 |
| mobile | string | 手机号 |
| telephone | string | 电话 |
请求参数示例:
/api/v1/aftersale/detail?afterSaleCode=AFTERSALE2025080400001
返回数据示例:
json
{
"success": true,
"code": "000",
"message": "成功",
"data": {
"projectId": 902,
"afterSaleCode": "20250801154750427",
"orderCode": "CG20250620180248001",
"applyType": 4,
"applyTypeDesc": "退货",
"auditStatus": "wait_audit",
"auditStatusDesc": "待审核",
"auditTime": "1970-01-01 08:00:01",
"status": "",
"statusDesc": "",
"applyTime": "2025-08-01 15:47:50",
"applyReason": "质量问题 : 商品质量有问题",
"pickUpDesc": null,
"reasonPic": null,
"skus": [
{
"sku": "WF2433442",
"skuName": "冷酸灵护龈洁齿抗敏牙膏2支",
"price": 11.48,
"num": 1,
"mainPic": "https://res-sh.clpcdn.com/pmspic/ItemPicture/20008/20067/20479/10017601/1719976495793/Original/1_WF2433442.jpg",
"categoryCode": "10001",
"categoryName": "测试分类"
}
],
"addressInfos": [
{
"addressType": 2,
"addressTypeDesc": "客户",
"province": "上海市",
"city": "上海市",
"district": "徐汇区",
"address": "古美路1528号A2幢",
"receiver": "lxy",
"mobile": "13666688969",
"telephone": "13666688969"
}
]
}
}