文档中心 > API类目 > 五道口API

tmall.cityretail.txd.fulfill.order.unbindnum (淘鲜达虚拟号服务解绑接口)

淘鲜达虚拟号解绑服务接口,通过订阅关系id进行解绑。

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
source_order_id String 必须 5000532554110110196 淘鲜达交易单号
sub_id String 可选 123321 订阅关系id

响应参数

名称 类型 示例值 描述
result WorkResult result 返回结果
  • └ error_code
  • String
  • PARAM_ERROR
  • 错误码
  • └ error_message
  • String
  • 参数错误
  • 错误信息
  • └ is_success
  • Boolean
  • true
  • 是否成功
  • └ result_data
  • Boolean
  • true
  • 返回结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallCityretailTxdFulfillOrderUnbindnumRequest req = new TmallCityretailTxdFulfillOrderUnbindnumRequest();
req.setSourceOrderId("5000532554110110196");
req.setSubId("123321");
TmallCityretailTxdFulfillOrderUnbindnumResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_cityretail_txd_fulfill_order_unbindnum_response>
    <result>
        <error_code>PARAM_ERROR</error_code>
        <error_message>参数错误</error_message>
        <is_success>true</is_success>
        <result_data>true</result_data>
    </result>
</tmall_cityretail_txd_fulfill_order_unbindnum_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

返回
顶部