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

文档中心 > API类目 > 千牛接口

taobao.alibao.label.tag (标记买家恶意标签)

待补充

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
buyer_id Number 必须 10000 买家ID
label_type String 必须 恶意标签 标签类型

响应参数

名称 类型 示例值 描述
alibao_result_data Json [{ "labelType": “标签1”, "labeledCnt": -1 }, { "labelType": "标签2", "labeledCnt": 10 }] resultData
alibao_error_info String userId: null errorInfo
alibao_error_code String ERROR_CODE_ILLEGAL_ARGUMENT errorCode
alibao_success Boolean true success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibaoLabelTagRequest req = new AlibaoLabelTagRequest();
req.setBuyerId(10000L);
req.setLabelType("恶意标签");
AlibaoLabelTagResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibao_label_tag_response>
    <alibao_result_data>[{   &quot;labelType&quot;: “标签1”,   &quot;labeledCnt&quot;: -1 }, {   &quot;labelType&quot;: &quot;标签2&quot;,   &quot;labeledCnt&quot;: 10 }]</alibao_result_data>
    <alibao_error_info>userId: null</alibao_error_info>
    <alibao_error_code>ERROR_CODE_ILLEGAL_ARGUMENT</alibao_error_code>
    <alibao_success>true</alibao_success>
</alibao_label_tag_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

返回
顶部