Appearance
获取售后订单详情
| 拥有此API的权限集 |
|---|
| 订单管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.ecommerce.after_sale.detail/1.0.0 - 频率限制:
1分钟300次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| aftersale_id | 是 | string | 售后单号 |
请求示例
{
"access_token":"xxxxx",
"aftersale_id":"A1676256272_63e9a41000b74_73803812"
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | string | 请求结果码 |
| msg | string | 描述信息 |
| data | object | 返回信息 |
data 售后订单详情
| 参数名 | 类型 | 说明 |
|---|---|---|
| order_id | string | 订单号 |
| user_id | string | 用户id |
| aftersale_id | string | 售后单号 |
| sale_type | string | 售后方式:1-仅退款 2-退款退货 3-换货 |
| submit_type | string | 提交类型:1:用户申请退款 2:商家主动退款 |
| state_str | string | 售后状态中文 |
| state | string | 售后状态 [0:未受理,1:用户取消,2:商家受理中,3:商家逾期未处理,4:商家拒绝退款,5:商家拒绝退货退款,6:待买家退货,7:退货退款关闭,8:待商家收货,11:商家退款中,12:商家逾期未退款,13:退款完成,14:退货退款完成,15:换货完成,16:待商家发货,17:待用户确认收货,18:商家拒绝换货,19:商家已收到货] |
| phone | string | 手机号码 |
| reason | string | 售后原因 |
| state_reason | string | 状态原因 |
| remark | string | 买家售后备注 |
| study_time | int | 学习时长(分) |
| merchant_remark | string | 商家售后备注 |
| refund_money | int | 商家退款金额 |
| goods_name | string | 商品名称 |
| img_url | string | 商品图片url |
| original_price | string | 商品价格 |
| apply_refund_money | string | 申请退款金额 |
| sku_info | string | 商品规格信息 |
| sku_id | string | 商品规格id |
| resource_type | string | 资源类型(无需关注) |
| freight | int | 运费 |
| certificate | string | 无需关注 |
| invalid_time | date | 申请单失效时间 |
| state_invalid_time | string | 当前状态逾期时间 |
| created_at | string | 申请售后时间 |
| user_name | string | 用户名 |
| ship_state | string | 物流状态 (无需关注) |
| ship_state_str | string | 物流状态中文 |
| after_sale_count | string | 非自然月操作过多少次退款 |
| prompt_state | string | 无需关注 |
| distribution_amount | int | 订单分销金额 |
| payment_amount | string | 垫付金额 |
| use_collection | string | 订单渠道 (无需关注) |
| actual_fee | int | 订单金额 |
| apply_channel | string | 申请渠道 (无需关注) |
| updated_at | string | 更新时间 |
| goods_list | array | 商品列 |
| goods_list.goods_name | string | 商品名 |
| goods_list.goods_tag | string | 商品标签 |
| goods_list.single_type | string | 无需关注 |
| goods_list.goods_price | string | 商品金额 |
| goods_list.img_url | string | 商品图片url |
| goods_list.sku_info | string | 商品规格信息 |
| goods_list.buy_num | string | 购买数量 |
| goods_list.resource_type | string | 资源类型 (无需关注) |
| return_logistics_type | string | 退货方式 |
| return_logistics_company | string | 退货承运物流公司 |
| return_logistics_no | string | 退货物流单号 |
| note | string | 售后单备注 |
返回示例
{
"code": 0,
"msg": "操作成功",
"data": {
"actual_fee": 10,
"after_sale_count": 1,
"aftersale_id": "A1676256272_63e9a41000b74_73803812",
"apply_channel": "xiaoe",
"apply_refund_money": 10,
"certificate": [],
"created_at": "2023-02-13 10:44:32",
"distribution_amount": 0,
"freight": 0,
"goods_list": [
{
"buy_num": 1,
"goods_name": "专栏1",
"goods_price": 10,
"goods_tag": "专栏",
"img_url": "https://commonresource-125xxxxxxx.cdn.xiaoeknow.com/image/lbyxhhvyxxxx.png",
"resource_type": 6,
"single_type": "0",
"sku_info": "--"
},
{
"buy_num": 1,
"goods_name": "测试图文重复采集210",
"goods_price": 2,
"goods_tag": "图文",
"img_url": "https://commonresource-125xxxxxxx.cdn.xiaoeknow.com/image/lbyxhhvyxxxx.png",
"resource_type": 1,
"single_type": "1",
"sku_info": "--"
},
{
"buy_num": 1,
"goods_name": "测试图文重复采集210永久有效)",
"goods_price": 2,
"goods_tag": "图文",
"img_url": "https://commonresource-125xxxxxxx.cdn.xiaoeknow.com/image/lbyxhhvyxxxx.png",
"resource_type": 1,
"single_type": "1",
"sku_info": "--"
}
],
"goods_name": "专栏1",
"img_url": "https://commonresource-125xxxxxxx.cdn.xiaoeknow.com/image/lbyxhhvyxxxx.png",
"invalid_time": "2023-02-20 10:44:32",
"merchant_remark": "测试",
"order_id": "o_1676256216_63e9a3d8f402e_31056719",
"original_price": 10,
"payment_amount": 0,
"phone": "18566321640",
"prompt_state": 0,
"reason": "",
"refund_money": 0,
"remark": "测试",
"resource_type": 6,
"sale_type": 1,
"ship_state": 0,
"ship_state_str": "无需发货",
"sku_id": "SKU_SPC_6760233267270JdBCs10",
"sku_info": "--",
"state": 4,
"state_invalid_time": "-0001-11-30 00:00:00",
"state_reason": "商家已拒绝售后申请",
"state_str": 4,
"study_time": null,
"submit_type": 1,
"use_collection": 2,
"user_id": "u_5dae9dd91d9b4_Vw2uqLs5w0",
"user_name": "更新资料",
"return_logistics_type": "自行寄回",
"return_logistics_company": "韵达快递",
"return_logistics_no": "312819073563553",
"note": "原退 1 件,协商后额外赔偿 5 元"
}
}