文档中心 > API类目 > 新零售供应链API

alibaba.ascp.channel.refund.cancel (渠道退款单撤销)

售后申请的撤回接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
cancel_refund_order_request Cancelrefundorderrequest 可选 入参
  • └ refund_no
  • String
  • 必须
  • 253245252
  • 退款单号
  • └ out_refund_no
  • String
  • 可选
  • qsk252525
  • 外部退款单号

响应参数

名称 类型 示例值 描述
result ResultWrapper 返回值包装,result为返回具体消息内容
  • └ error_code
  • String
  • service_not_found
  • 错误编码
  • └ error_message
  • String
  • 服务错误
  • 错误信息
  • └ success
  • Boolean
  • true
  • 返回是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpChannelRefundCancelRequest req = new AlibabaAscpChannelRefundCancelRequest();
AlibabaAscpChannelRefundCancelRequest.Cancelrefundorderrequest obj1 = new AlibabaAscpChannelRefundCancelRequest.Cancelrefundorderrequest();
obj1.setRefundNo("253245252");
obj1.setOutRefundNo("qsk252525");
req.setCancelRefundOrderRequest(obj1);
AlibabaAscpChannelRefundCancelResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ascp_channel_refund_cancel_response>
    <result>
        <error_code>service_not_found</error_code>
        <error_message>服务错误</error_message>
        <success>true</success>
    </result>
</alibaba_ascp_channel_refund_cancel_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部