alibaba.idle.recycle.order.query (闲鱼回收订单查询V1)

查询回收订单

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
biz_order_id Number 必须 123123 订单号
recycle_supplier_id Number 可选 545749246 手淘商家的淘宝账号id

响应参数

名称 类型 示例值 描述
result Result result
  • module
  • Serializable
  • 订单信息
  • └ app_key
  • String
  • 123
  • 回收商appkey
  • └ biz_order_id
  • String
  • 123134
  • 订单号
  • └ order_status
  • Number
  • 1
  • 回收订单状态
  • └ buyer_id
  • Number
  • 0
  • 买家id,已脱敏处理返回0
  • └ buyer_nick
  • String
  • test123
  • 买家nick
  • └ seller_id
  • Number
  • 0
  • 卖家id,已脱敏处理返回0
  • └ seller_nick
  • String
  • testSeller123
  • 卖家nick
  • └ seller_alipay_user_id
  • String
  • 12345
  • 卖家支付宝id,用于回收商支付宝打款
  • └ seller_alipay_account
  • String
  • 2123***saf
  • 卖家支付宝账号,已脱敏
  • └ credit_pay
  • Boolean
  • true
  • 是否信用预付订单
  • └ credit_pay_amount
  • Number
  • 12000
  • 信用预付金额,单位分
  • └ apprize_amount
  • Number
  • 123456
  • 估价金额,单位分
  • └ seller_address
  • String
  • 浙江省杭州市余杭区969号
  • 卖家收货地址
  • └ seller_phone
  • String
  • 13388791129
  • 卖家手机号码
  • └ ship_type
  • String
  • 1
  • 取件类型 1:顺风 2:上门取件
  • └ ship_time
  • String
  • 2018-02-13 12:12:11
  • 取件时间
  • └ seller_real_name
  • String
  • 王小二
  • 卖家姓名
  • └ zfb_dk
  • Boolean
  • true
  • 是否支付宝签约
  • └ zfb_dk_code
  • String
  • 123467
  • 支付宝签约code
  • └ apprize_id
  • String
  • 1235
  • 估价id
  • └ city
  • String
  • 杭州
  • 城市
  • └ province
  • String
  • 浙江
  • └ area
  • String
  • 余杭
  • └ country
  • String
  • 中泰
  • └ zm_score
  • String
  • 902
  • 芝麻分
  • └ coupon_id
  • String
  • 1
  • 未来的卡券id
  • └ coupon_fee
  • String
  • 1234
  • 加价券金额
  • └ coupon_rule
  • String
  • { "actType": 3, "beg": "2017-12-21 16:00:00", "couponFee": 0, "couponId": "-5", "desc": "阶梯价", "end": "2019-02-31 00:00:00", "idleBizCode": "8", "low": 0, "range": [{ "actType": 1, "couponFee": 0, "desc": "100~2000元,加价10%", "low": 10000, "percent": 0.1, "up": 200000 }, { "actType": 1, "couponFee": 0, "desc": "2000~3000元,加价20%", "low": 200000, "percent": 0.2, "up": 300000 }, { "actType": 2, "addFee": 70000, "couponFee": 0, "desc": "3000元以上,加价700", "low": 300000, "up": 0 }] }
  • 一、按百分比 { "actType": 1, "beg": "2017-12-01 12:00:00", "couponFee": 4400, "couponId": "-2", "desc": "满50加价10%", "end": "2017-12-13 12:00:00", "idleBizCode": "9", "low": 5000, "percent": 0.1 } 二、按固定加价 { "actType": 2, "beg": "2017-12-01 12:00:00", "couponFee": 3000, "couponId": "-3", "desc": "满50固定加价30", "end": "2017-12-13 12:00:00", "idleBizCode": "9", "low": 5000, "addFee": 3000 } 三、阶梯价 { "actType": 3, "beg": "2017-12-21 16:00:00", "couponFee": 0, "couponId": "-5", "desc": "阶梯价", "end": "2019-02-31 00:00:00", "idleBizCode": "8", "low": 0, "range": [{ "actType": 1, "couponFee": 0, "desc": "100~2000元,加价10%", "low": 10000, "percent": 0.1, "up": 200000 }, { "actType": 1, "couponFee": 0, "desc": "2000~3000元,加价20%", "low": 200000, "percent": 0.2, "up": 300000 }, { "actType": 2, "addFee": 70000, "couponFee": 0, "desc": "3000元以上,加价700", "low": 300000, "up": 0 }] }
  • └ channel
  • String
  • idle
  • 回收渠道
  • └ rate_grade
  • String
  • 1
  • 1 好评,0 默认中评
  • └ rate_content
  • String
  • 交易顺利
  • 评价内容
  • └ close_reason
  • String
  • 突然不想卖了
  • 卖家关闭订单原因
  • └ buyer_close_reason
  • String
  • 联系不到用户
  • 买家关闭订单原因
  • └ refund_reason
  • String
  • 金额太低
  • 卖家申请退回原因
  • └ env
  • String
  • online
  • onlien:线上环境 pre:测试环境
  • └ gmt_create
  • String
  • 2018-02-12 11:32:21
  • 订单创建时间
  • └ zm_level
  • String
  • Z1
  • 600以下为Z5,600-649为Z4,650-699为Z3,700-749为Z2,750及以上为Z1
  • └ idle_pay_type
  • String
  • 1
  • 1:支付宝现金 2:天猫红包
  • └ channel_data
  • String
  • {"ship":"1","weight":"5-15","userLevel":"vip"}
  • 渠道内的业务数据json格式 比如 ship=1 服装类的不需要发货,weight=5-15 代表服装5-15kg, userLevel=vip 代表免议价用户,sellerRealPhone 淘宝账号绑定的手机号
  • └ spu_id
  • String
  • 10285
  • spuId
  • └ dk_type
  • String
  • xydk
  • xydk:闲鱼代扣,信用订单使用
  • └ ship_mail_no
  • String
  • 23434544329897
  • 回收订单对应的快递单号
  • └ apprize_id_list
  • String
  • ["111111","22222"]
  • 多笔估价场景,订单纬度对应的多笔估价集合
  • └ spu_id_list
  • String
  • ["111111","22222"]
  • 多笔估价场景,订单纬度对应的多笔spuId集合
  • └ cash_order
  • Boolean
  • true
  • 是否为返现订单
  • └ cash_fee
  • String
  • 1000
  • 返现金额,单位分
  • └ quote_version
  • String
  • 0
  • 估计版本,第几次估价
  • └ err_msg
  • String
  • 当前订单不归属appkey
  • errMsg
  • └ success
  • Boolean
  • true
  • 成功

请求示例

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

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_recycle_order_query_response>
    <result>
        <module>
            <app_key>123</app_key>
            <biz_order_id>123134</biz_order_id>
            <order_status>1</order_status>
            <buyer_id>0</buyer_id>
            <buyer_nick>test123</buyer_nick>
            <seller_id>0</seller_id>
            <seller_nick>testSeller123</seller_nick>
            <seller_alipay_user_id>12345</seller_alipay_user_id>
            <seller_alipay_account>2123***saf</seller_alipay_account>
            <credit_pay>true</credit_pay>
            <credit_pay_amount>12000</credit_pay_amount>
            <apprize_amount>123456</apprize_amount>
            <seller_address>浙江省杭州市余杭区969号</seller_address>
            <seller_phone>13388791129</seller_phone>
            <ship_type>1</ship_type>
            <ship_time>2018-02-13 12:12:11</ship_time>
            <seller_real_name>王小二</seller_real_name>
            <zfb_dk>true</zfb_dk>
            <zfb_dk_code>123467</zfb_dk_code>
            <apprize_id>1235</apprize_id>
            <city>杭州</city>
            <province>浙江</province>
            <area>余杭</area>
            <country>中泰</country>
            <zm_score>902</zm_score>
            <coupon_id>1</coupon_id>
            <coupon_fee>1234</coupon_fee>
            <coupon_rule>{     &quot;actType&quot;: 3,     &quot;beg&quot;: &quot;2017-12-21 16:00:00&quot;,     &quot;couponFee&quot;: 0,     &quot;couponId&quot;: &quot;-5&quot;,     &quot;desc&quot;: &quot;阶梯价&quot;,     &quot;end&quot;: &quot;2019-02-31 00:00:00&quot;,     &quot;idleBizCode&quot;: &quot;8&quot;,     &quot;low&quot;: 0,     &quot;range&quot;: [{         &quot;actType&quot;: 1,         &quot;couponFee&quot;: 0,         &quot;desc&quot;: &quot;100~2000元,加价10%&quot;,         &quot;low&quot;: 10000,         &quot;percent&quot;: 0.1,         &quot;up&quot;: 200000     },     {         &quot;actType&quot;: 1,         &quot;couponFee&quot;: 0,         &quot;desc&quot;: &quot;2000~3000元,加价20%&quot;,         &quot;low&quot;: 200000,         &quot;percent&quot;: 0.2,         &quot;up&quot;: 300000     },     {         &quot;actType&quot;: 2,         &quot;addFee&quot;: 70000,         &quot;couponFee&quot;: 0,         &quot;desc&quot;: &quot;3000元以上,加价700&quot;,         &quot;low&quot;: 300000,         &quot;up&quot;: 0     }] }</coupon_rule>
            <channel>idle</channel>
            <rate_grade>1</rate_grade>
            <rate_content>交易顺利</rate_content>
            <close_reason>突然不想卖了</close_reason>
            <buyer_close_reason>联系不到用户</buyer_close_reason>
            <refund_reason>金额太低</refund_reason>
            <env>online</env>
            <gmt_create>2018-02-12 11:32:21</gmt_create>
            <zm_level>Z1</zm_level>
            <idle_pay_type>1</idle_pay_type>
            <channel_data>{&quot;ship&quot;:&quot;1&quot;,&quot;weight&quot;:&quot;5-15&quot;,&quot;userLevel&quot;:&quot;vip&quot;}</channel_data>
            <spu_id>10285</spu_id>
            <dk_type>xydk</dk_type>
            <ship_mail_no>23434544329897</ship_mail_no>
            <apprize_id_list>[&quot;111111&quot;,&quot;22222&quot;]</apprize_id_list>
            <spu_id_list>[&quot;111111&quot;,&quot;22222&quot;]</spu_id_list>
            <cash_order>true</cash_order>
            <cash_fee>1000</cash_fee>
            <quote_version>0</quote_version>
        </module>
        <err_msg>当前订单不归属appkey</err_msg>
        <success>true</success>
    </result>
</alibaba_idle_recycle_order_query_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

返回
顶部