文档中心 > API类目 > 天猫汽车

taobao.bbq.localization.closerule (bbq限购规则关闭接口)

新康众侧限购,bbq限购规则关闭接口,喵养车店铺下商品

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
item_id Number 可选 605276044154 限购商品
rule_id Number 可选 782924018 规则id

响应参数

名称 类型 示例值 描述
data Boolean 1234 返回素材id
success1 Boolean false 是否成功
error_code1 Number "isv.invalid-parameter" 错误码
error_msg String "参数错误" 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
BbqLocalizationCloseruleRequest req = new BbqLocalizationCloseruleRequest();
req.setItemId(605276044154L);
req.setRuleId(782924018L);
BbqLocalizationCloseruleResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<bbq_localization_closerule_response>
    <data>1234</data>
    <success1>false</success1>
    <error_code1>&quot;isv.invalid-parameter&quot;</error_code1>
    <error_msg>&quot;参数错误&quot;</error_msg>
</bbq_localization_closerule_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

返回
顶部