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

alibaba.ascp.channel.refund.close (渠道退款单关闭)

渠道退款单关闭

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
close_refund_order_request Closerefundorderrequest 可选 入参
  • └ 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);
AlibabaAscpChannelRefundCloseRequest req = new AlibabaAscpChannelRefundCloseRequest();
AlibabaAscpChannelRefundCloseRequest.Closerefundorderrequest obj1 = new AlibabaAscpChannelRefundCloseRequest.Closerefundorderrequest();
obj1.setRefundNo("253245252");
obj1.setOutRefundNo("qsk252525");
req.setCloseRefundOrderRequest(obj1);
AlibabaAscpChannelRefundCloseResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ascp_channel_refund_close_response>
    <result>
        <error_code>service_not_found</error_code>
        <error_message>服务错误</error_message>
        <success>true</success>
    </result>
</alibaba_ascp_channel_refund_close_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

返回
顶部