cainiao.refund.refundactions.display (退货退款操作的展示信息(展现给买家))

退货退款操作的展示信息(展现给买家)

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 OrderRefundOperationReq 可选 请求入参
  • └ refund_order_action_type
  • String
  • 必须
  • swithGoods
  • 退款退货操作的Code,由系统定义,目前支持的方式有:refundFeeOnly(仅退款),refundFeeWithGoods(退货退款),swithGoods(换货)
  • └ order_id
  • String
  • 必须
  • 1234567890
  • 订单ID

响应参数

名称 类型 示例值 描述
result BizResult 返回结果对象
  • └ status_code
  • String
  • ERROR
  • 调用时错误码
  • └ data
  • Json
  • { "url": "https://refund.m.tmall.com/dispute/wirelessApply.htm?bizOrderId=1234567890&type=4#/loaded", "shortUrl": "https://nft2sf" }
  • 买家操作时需要的展示信息
  • └ success
  • Boolean
  • false
  • true表示成功,false表示失败
  • └ status_message
  • String
  • 系统错误
  • 调用时错误描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoRefundRefundactionsDisplayRequest req = new CainiaoRefundRefundactionsDisplayRequest();
CainiaoRefundRefundactionsDisplayRequest.OrderRefundOperationReq obj1 = new CainiaoRefundRefundactionsDisplayRequest.OrderRefundOperationReq();
obj1.setRefundOrderActionType("swithGoods");
obj1.setOrderId("1234567890");
req.setParam0(obj1);
CainiaoRefundRefundactionsDisplayResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<cainiao_refund_refundactions_display_response>
    <result>
        <status_code>ERROR</status_code>
        <data>{         &quot;url&quot;: &quot;https://refund.m.tmall.com/dispute/wirelessApply.htm?bizOrderId=1234567890&amp;type=4#/loaded&quot;,          &quot;shortUrl&quot;: &quot;https://nft2sf&quot;       }</data>
        <success>false</success>
        <status_message>系统错误</status_message>
    </result>
</cainiao_refund_refundactions_display_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

返回
顶部