您的位置 : 文档中心 -> API信息

com.alibaba.trade:alibaba.trade.refund.queryOrderRefundList-1
查询退款单列表(卖家视角) 免费

根据订单号或退款单列表查询退款单列表,有可能有延迟。

API用户授权类型

需要授权

系统级输入参数

名称 类型 是否必须 描述
_aop_timestamp String 请求时间戳
_aop_signature String 请求签名
access_token String 用户授权令牌

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值
orderId Long 订单Id 181504201846969811
applyStartTime java.util.Date 退款申请时间(起始) 20170926114526000+0800
applyEndTime java.util.Date 退款申请时间(截止) 20170926114526000+0800
refundStatusSet java.util.Set 退款状态列表 等待卖家同意 waitselleragree;退款成功 refundsuccess;退款关闭 refundclose;待买家修改 waitbuyermodify;等待买家退货 waitbuyersend;等待卖家确认收货 waitsellerreceive
buyerMemberId String 买家memberId b2b-1624961198
currentPageNum int 查询页码,起始页码为0 0
pageSize int 页大小 10
logisticsNo String 退货运单号 3101***14103
modifyStartTime java.util.Date 退款修改时间(起始) 20170926114526000+0800
modifyEndTime java.util.Date 退款修改时间(截止) 20170926114526000+0800
dipsuteType Integer 1:售中退款,2:售后退款;0:所有退款单 1

返回结果

名称 类型 是否必须 描述 示例值
+ result alibaba.trade.refund.OpQueryOrderRefundListResult 返回结果 {}
errorCode String 错误码
errorMessage String 错误信息
extErrorMessage String 附加信息

返回结果

extInfo参数说明

  payMode     资金分流(alipay:支付宝,fundFreeze:资金平台账户冻结) 
7d          7天无理由订单标记(1表示7天无理由订单)      

请求参数示例

  orderId :179087886005498520 

返回参数示例

  {
    "result":{
        "opOrderRefundModels":[
            {
                "alipayPaymentId":"2018061421001008760569923894",
                "applyCarriage":0,
                "applyPayment":1,
                "applyReason":"不想买了,已与卖家协商一致",
                "applyReasonId":20028,
                "applySubReasonId":-1,
                "buyerMemberId":"b2b-1624961198",
                "buyerUserId":1624961198,
                "canRefundPayment":1,
                "disputeRequest":3,
                "disputeType":1,
                "extInfo":{
                    "EXmrf":"1",
                    "ttid":"2",
                    "reason":"20028",
                    "apply_text_id":"null",
                    "newRefund":"rp2",
                    "bizCode":"cbu.general.refund",
                    "lastOrder":"0",
                    "seller_agreed_refund_fee":"1",
                    "old_reason_id":"20028",
                    "b2b_seller_mId":"b2b-1623492085",
                    "seller_batch":"true",
                    "itemBuyAmount":"0",
                    "b2b_buyer_mId":"b2b-1624961198",
                    "ability":"1",
                    "seller_audit":"0",
                    "ee_trace_id":"0ab2dbd215300798520175927d07d3",
                    "ol_tf":"0",
                    "opRole":"timeout",
                    "apply_init_refund_fee":"1",
                    "isVirtual":"0",
                    "logisticsCompanyId":"-1",
                    "itemPrice":"0",
                    "interceptStatus":"0",
                    "refundFrom":"2",
                    "restartForXiaoer":"1",
                    "appName":"tosp-aftersales",
                    "abnormal_dispute_status":"0",
                    "payMode":"alipay",
                    "workflowName":"cbu_return_and_refund",
                    "sgr":"1",
                    "enfunddetail":"1",
                    "bgmtc":"2018-06-14 14:20:21"
                },
                "frozenFund":-1,
                "gmtApply":"20180622141034000+0800",
                "gmtCompleted":"20180702141113000+0800",
                "gmtCreate":"20180622141034000+0800",
                "gmtModified":"20180702141113000+0800",
                "goodsStatus":2,
                "id":10426553019961198,
                "orderId":177681528398969811,
                "productName":"短袖撞色领保罗衫定做纯棉广告衫定制印字logo刺绣男现货批发 白色/橙领 S等3种",
                "refundCarriage":0,
                "refundId":"TQ10426553019961198",
                "refundPayment":1,
                "rejectReasonId":0,
                "rejectTimes":0,
                "sellerMemberId":"b2b-1623492085",
                "sellerUserId":1623492085,
                "status":"refundclose"
            }
        ],
        "totalCount":1,
        "currentPageNum":0
    }
} 

错误码

错误码 错误描述 解决方案
500 {\"errorCode\":\"003\",\"errorMessage\":\"SERVICE:查询数据失败,请检查输入参数后重试。\",\"cause\":\"\"} 订单号码输入错误

API工具

SDK 示例