Appearance
8.3 获取退货单信息
根据退货单申请编号查询退货状态。
接口说明:
Method | URL | ContentType |
---|---|---|
GET | api/restful/refund/query | application/json |
URL参数说明:
参数 | 类型说明 | 是否必须 | 长度 | 描述 |
---|---|---|---|---|
apply_code | string | 必须 | 200 | 退换货申请编号 |
order_id | string | 必须 | 200 | 订单编号 |
返回结果说明:
参数 | 参数说明 | 描述 |
---|---|---|
apply_code | string | 退货申请单编码 |
refund_code | string | 退货单编码 |
apply_status | string | 退货状态0=待审核1=审核通过2=客户取消3=对接方客服取消4=审核不通过 |
apply_type | string | 退货类型4=退货5=换货 |
apply_time | string | 退货时间 |
order_id | string | 订单编号 |
refund_status | string | 审核流程状态 30301 =退货中30305 =客户已发货30310 =对接方已收货30315=对接方已重新发货30320 =客户已收货30325=客户结束流程30330=客服结束流程 |
apply_reason | string | 申请原因 |
apply_name | string | 申请人姓名 |
apply_mobile | string | 申请人手机号 |
apply_telephone | string | 申请人电话 |
pickup_way | string | 取货方式:上门取件、第三方物流(上门=1,第三方=2)默认上门取件 |
province_code | string | 省 |
city_code | string | 市 |
county_code | string | 区 |
address | string | 地址 |
full_address | string | 全量地址 |
skus | json | 退换货商品sku |
请求参数示例: |
json
{
"apply_code": "RO__20210615090903382",
"orderId": "2106100015"
}
返回数据示例:
json
{
"success": true,
"errormsg ": "",
"requestId ": "9245fe4a-d402-451c-b9ed-9c1a04247482",
"errorcode": 0,
"result": {
"apply_code": "RO__20210615090903382",
"refund_code": "RO__20210615090903382",
"orderId": "2106100015",
"apply_type": "4",
"apply_status": "0",
"refund_status": "0",
"apply_time": "06/15/2021 09:09:02",
"apply_reason": "售后测试123445321",
"apply_name": "张三",
"apply_mobile": "17628282828",
"apply_telephone": "17628282828",
"pickup_way": "1",
"province_code": "6",
"city_code": "303",
"county_code": "36783",
"address": "西矿街147号比亚迪店",
"full_address": "6_303_36783_",
"skus": [
{
"sku": "1032817",
"num": 2,
"price": 30.48
},
{
"sku": "1050256",
"num": 2,
"price": 6552.0
}
]
}
}