Skip to content
On this page

8.3 获取退货单信息

根据退货单申请编号查询退货状态。

接口说明:

MethodURLContentType
GETapi/restful/refund/queryapplication/json

URL参数说明:

参数类型说明是否必须长度描述
apply_codestring必须200退换货申请编号
order_idstring必须200订单编号

返回结果说明:

参数参数说明描述
apply_codestring退货申请单编码
refund_codestring退货单编码
apply_statusstring退货状态0=待审核1=审核通过2=客户取消3=对接方客服取消4=审核不通过
apply_typestring退货类型4=退货5=换货
apply_timestring退货时间
order_idstring订单编号
refund_statusstring审核流程状态 30301 =退货中30305 =客户已发货30310 =对接方已收货30315=对接方已重新发货30320 =客户已收货30325=客户结束流程30330=客服结束流程
apply_reasonstring申请原因
apply_namestring申请人姓名
apply_mobilestring申请人手机号
apply_telephonestring申请人电话
pickup_waystring取货方式:上门取件、第三方物流(上门=1,第三方=2)默认上门取件
province_codestring
city_codestring
county_codestring
addressstring地址
full_addressstring全量地址
skusjson退换货商品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
            }
        ]
    }
}