文档中心 > API类目 > 以旧换新-溯源码

taobao.ofn.recycle.qrcode.bind.status.query (查询溯源码是否绑定)

查询溯源码是否绑定

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
code_token String 必须 OFN888 溯源码唯一标识

响应参数

名称 类型 示例值 描述
binded Boolean true 是否已绑定
bind_recycle_order_id String 123456789 绑定的回收单 ID

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
OfnRecycleQrcodeBindStatusQueryRequest req = new OfnRecycleQrcodeBindStatusQueryRequest();
req.setCodeToken("OFN888");
OfnRecycleQrcodeBindStatusQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<ofn_recycle_qrcode_bind_status_query_response>
    <binded>true</binded>
    <bind_recycle_order_id>123456789</bind_recycle_order_id>
</ofn_recycle_qrcode_bind_status_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

返回
顶部