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

文档中心 > API类目 > AE-Oversea-Solution

aliexpress.solution.feed.invalidate (aliexpress.solution.feed.invalidate)

Api for invalidating specific feeds based on job Ids. Please use aliexpress.solution.feed.list.get to determine which job Ids needs to be sent for invalidation.

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
job_id_list String 可选 200000099310034475;200000099110014475;200000014009554475 job id separated by ; No more than 100 job Ids could be passed in one request.

响应参数

名称 类型 示例值 描述
successful_list Number [] [200000099310034475] successful list
no_need_invalidation_list Number [] [200000099110014475] no need to be invalidated jobs. Usually caused by that the job is being or has already been executed.
failed_list Number [] [200000014009554475] failed list

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSolutionFeedInvalidateRequest req = new AliexpressSolutionFeedInvalidateRequest();
req.setJobIdList("200000099310034475;200000099110014475;200000014009554475");
AliexpressSolutionFeedInvalidateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_solution_feed_invalidate_response>
    <successful_list>
        <number>[200000099310034475]</number>
    </successful_list>
    <no_need_invalidation_list>
        <number>[200000099110014475]</number>
    </no_need_invalidation_list>
    <failed_list>
        <number>[200000014009554475]</number>
    </failed_list>
</aliexpress_solution_feed_invalidate_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

返回
顶部