注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.idle.yushi.tongshou.aftersale.order.start (同售服务商买家发起售后)

同售服务商买家发起售后

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tender_after_sale_param IdleTsStartAfterSaleDTO 可选 入参
  • └ main_order_id
  • String
  • 必须
  • 34517851
  • 闲鱼买家单id
  • apply_info
  • TenderTsAfterSaleApplyInfoDTO
  • 可选
  • 买家申请信息
  • └ trouble_tags
  • String
  • 可选
  • xxx,xxx
  • 故障标签 xxx,xxx,xxx
  • └ video_cover_urls
  • String
  • 可选
  • https://testVideo1.com,https://testVideo2.com
  • 售后申请用户视频封面链接 ,用","隔开
  • └ applyer_address
  • String
  • 可选
  • 浙江省杭州市余杭区阿里巴巴西溪园区
  • 售后退回收件人地址
  • └ apply_content
  • String
  • 可选
  • 手机用一会就发热,充不上点。屏幕也有破损
  • 售后申请文字说明,用","隔开
  • └ applyer_address_phone
  • String
  • 可选
  • 15934562564
  • 售后退回收件人电话
  • └ pic_urls
  • String
  • 可选
  • https://testVideo1.com,https://testVideo2.com
  • 售后申请图片链接,用","隔开
  • └ video_urls
  • String
  • 可选
  • https://testVideo1.com,https://testVideo2.com
  • 售后申请用户视频,用","隔开
  • └ applyer_address_name
  • String
  • 可选
  • 测试
  • 售后退回收件人收件名
  • supplier_info
  • TenderTsAfterSaleSupplierInfoDTO
  • 可选
  • 售后服务商信息
  • └ supplier_address_detail
  • String
  • 可选
  • 浙江省杭州市余杭区文一西路西溪园区
  • 售后服务商地址详情
  • └ supplier_city
  • String
  • 可选
  • 杭州市
  • 售后服务商城市
  • └ supplier_name
  • String
  • 可选
  • 鱼市售后
  • 售后服务商名称
  • └ supplier_phone
  • String
  • 可选
  • 0755-36567546
  • 售后服务商联系方式

响应参数

名称 类型 示例值 描述
result Result 结果
  • └ success
  • Boolean
  • true
  • 请求结果
  • └ err_code
  • String
  • MAIN_ORDER_ID_IS_NULL
  • 错误code
  • data
  • IdleTsOrderQueryResult
  • 结果详细信息
  • └ after_sale_id
  • Number
  • 124562
  • 售后单ID
  • └ err_msg
  • String
  • 主订单id为空
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleYushiTongshouAftersaleOrderStartRequest req = new AlibabaIdleYushiTongshouAftersaleOrderStartRequest();
AlibabaIdleYushiTongshouAftersaleOrderStartRequest.IdleTsStartAfterSaleDTO obj1 = new AlibabaIdleYushiTongshouAftersaleOrderStartRequest.IdleTsStartAfterSaleDTO();
obj1.setMainOrderId("34517851");
AlibabaIdleYushiTongshouAftersaleOrderStartRequest.TenderTsAfterSaleApplyInfoDTO obj2 = new AlibabaIdleYushiTongshouAftersaleOrderStartRequest.TenderTsAfterSaleApplyInfoDTO();
obj2.setTroubleTags("xxx,xxx");
obj2.setVideoCoverUrls("https://testVideo1.com,https://testVideo2.com");
obj2.setApplyerAddress("浙江省杭州市余杭区阿里巴巴西溪园区");
obj2.setApplyContent("手机用一会就发热,充不上点。屏幕也有破损");
obj2.setApplyerAddressPhone("15934562564");
obj2.setPicUrls("https://testVideo1.com,https://testVideo2.com");
obj2.setVideoUrls("https://testVideo1.com,https://testVideo2.com");
obj2.setApplyerAddressName("测试");
obj1.setApplyInfo(obj2);
AlibabaIdleYushiTongshouAftersaleOrderStartRequest.TenderTsAfterSaleSupplierInfoDTO obj3 = new AlibabaIdleYushiTongshouAftersaleOrderStartRequest.TenderTsAfterSaleSupplierInfoDTO();
obj3.setSupplierAddressDetail("浙江省杭州市余杭区文一西路西溪园区");
obj3.setSupplierCity("杭州市");
obj3.setSupplierName("鱼市售后");
obj3.setSupplierPhone("0755-36567546");
obj1.setSupplierInfo(obj3);
req.setTenderAfterSaleParam(obj1);
AlibabaIdleYushiTongshouAftersaleOrderStartResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_yushi_tongshou_aftersale_order_start_response>
    <result>
        <success>true</success>
        <err_code>MAIN_ORDER_ID_IS_NULL</err_code>
        <data>
            <after_sale_id>124562</after_sale_id>
        </data>
        <err_msg>主订单id为空</err_msg>
    </result>
</alibaba_idle_yushi_tongshou_aftersale_order_start_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

返回
顶部