taobao.ofn.recycle.order.detail (以旧换新回收单详情)

以旧换新回收单详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
biz_order_id Number 必须 12345678 回收单 ID

响应参数

名称 类型 示例值 描述
data OfnSupplierRecycleOrderDetailDTO 回收订单详细信息
  • └ biz_order_id
  • Number
  • 123456789
  • 回收单 ID
  • └ app_key
  • Number
  • 12345678
  • 回收商 appKey
  • └ order_status
  • Number
  • 3
  • 回收单状态
  • └ seller_alipay_id
  • Number
  • 123456789
  • 卖家支付宝id,用于回收商支付宝打款
  • └ credit_pay
  • Boolean
  • true
  • 是否信用预付
  • └ credit_pay_amount
  • Number
  • 100
  • 信用预付金额,单位 分
  • └ apprize_amount
  • Number
  • 100
  • 估价金额,单位 分
  • └ quote_id
  • Number
  • 123123123
  • 估价 ID
  • └ seller_address
  • String
  • 杭州市余杭市阿里巴巴园区
  • 卖家地址
  • └ seller_phone
  • String
  • 123123123
  • 卖家电话
  • └ ship_type
  • String
  • 1
  • 履约类型(1:邮寄,2:上门,7:自助回收商)
  • └ ship_time
  • Date
  • 2023-11-11 11:11:11
  • 取件时间
  • └ ship_time_end
  • Date
  • 2023-11-11 11:11:11
  • 取件截止时间
  • └ province
  • String
  • 浙江省
  • └ city
  • String
  • 杭州市
  • └ area
  • String
  • 余杭区
  • └ town
  • String
  • xx镇
  • 乡镇
  • └ channel
  • String
  • tmall-ofn
  • 渠道
  • └ rate_grade
  • String
  • 1
  • 评分
  • └ rate_content
  • String
  • 评价内容
  • └ close_reason
  • String
  • 其他
  • 关单原因
  • └ refund_reason
  • String
  • 其他
  • 申请退回原因
  • └ env
  • String
  • ONLINE
  • 环境,ONLINE 线上 / PRE 预发
  • └ gmt_create
  • Date
  • 2023-11-11 11:11:11
  • 订单创建时间
  • └ pay_type
  • String
  • 1
  • 支付类型,1 现金 / 2 红包
  • └ channel_data
  • String
  • {}
  • 渠道数据,json
  • └ spu_id
  • String
  • 100
  • SPU ID
  • └ ship_mail_no
  • String
  • SF10000
  • 回收单对应的物流单号

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
OfnRecycleOrderDetailRequest req = new OfnRecycleOrderDetailRequest();
req.setBizOrderId(12345678L);
OfnRecycleOrderDetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<ofn_recycle_order_detail_response>
    <data>
        <biz_order_id>123456789</biz_order_id>
        <app_key>12345678</app_key>
        <order_status>3</order_status>
        <seller_alipay_id>123456789</seller_alipay_id>
        <credit_pay>true</credit_pay>
        <credit_pay_amount>100</credit_pay_amount>
        <apprize_amount>100</apprize_amount>
        <quote_id>123123123</quote_id>
        <seller_address>杭州市余杭市阿里巴巴园区</seller_address>
        <seller_phone>123123123</seller_phone>
        <ship_type>1</ship_type>
        <ship_time>2023-11-11 11:11:11</ship_time>
        <ship_time_end>2023-11-11 11:11:11</ship_time_end>
        <province>浙江省</province>
        <city>杭州市</city>
        <area>余杭区</area>
        <town>xx镇</town>
        <channel>tmall-ofn</channel>
        <rate_grade>1</rate_grade>
        <rate_content>好</rate_content>
        <close_reason>其他</close_reason>
        <refund_reason>其他</refund_reason>
        <env>ONLINE</env>
        <gmt_create>2023-11-11 11:11:11</gmt_create>
        <pay_type>1</pay_type>
        <channel_data>{}</channel_data>
        <spu_id>100</spu_id>
        <ship_mail_no>SF10000</ship_mail_no>
    </data>
</ofn_recycle_order_detail_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

返回
顶部