文档中心 > API类目 > 淘宝定制行业API

taobao.industry.applestore.restriction.delete (删除限购)

删除限购

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
restriction_plan_batch_delete RestrictionPlanBatchDelete 可选 删除参数
  • └ channel
  • String
  • 可选
  • PC
  • 渠道
  • list
  • RestrictionPlanDelete []
  • 可选
  • null
  • 批量删除入参
  • └ restriction_ids
  • String
  • 必须
  • 656851744680
  • 限购对象id
  • └ plan_item_id
  • String
  • 必须
  • 586
  • 限购计划id
  • └ channel
  • String
  • 可选
  • PC
  • 渠道
  • └ business_type
  • String
  • 可选
  • CE_APPLE
  • 业务
  • └ business_type
  • String
  • 可选
  • CE_APPLE
  • 业务

响应参数

名称 类型 示例值 描述
fail Boolean true 是否失败
error_message String sellerId can not be null 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
IndustryApplestoreRestrictionDeleteRequest req = new IndustryApplestoreRestrictionDeleteRequest();
IndustryApplestoreRestrictionDeleteRequest.RestrictionPlanBatchDelete obj1 = new IndustryApplestoreRestrictionDeleteRequest.RestrictionPlanBatchDelete();
obj1.setChannel("PC");
List<IndustryApplestoreRestrictionDeleteRequest.RestrictionPlanDelete> list3 = new ArrayList<IndustryApplestoreRestrictionDeleteRequest.RestrictionPlanDelete>();
IndustryApplestoreRestrictionDeleteRequest.RestrictionPlanDelete obj4 = new IndustryApplestoreRestrictionDeleteRequest.RestrictionPlanDelete();
list3.add(obj4);
obj4.setRestrictionIds("656851744680");
obj4.setPlanItemId("586");
obj4.setChannel("PC");
obj4.setBusinessType("CE_APPLE");
obj1.setList(list3);
obj1.setBusinessType("CE_APPLE");
req.setRestrictionPlanBatchDelete(obj1);
IndustryApplestoreRestrictionDeleteResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<industry_applestore_restriction_delete_response>
    <fail>true</fail>
    <error_message>sellerId can not be null</error_message>
</industry_applestore_restriction_delete_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

返回
顶部