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

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

aliexpress.solution.feed.submit (aliexpress.solution.feed.submit)

API for merchants to submit feed data. Please note for each seller, the recommended number of feeds submitted for each operation_type every 24 hours should be lee than 150, otherwise significant delay might be encountered for processing the feed.

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
operation_type String 必须 PRODUCT_CREATE Currently support 4 types of feeds:PRODUCT_CREATE,PRODUCT_FULL_UPDATE,PRODUCT_STOCKS_UPDATE,PRODUCT_PRICES_UPDATE
item_list SingleItemRequestDto [] 必须
  • 最大列表长度:2000
  • item list, maximum size: 2000.
    • └ item_content
    • String
    • 必须
    • {"category_id":200000346,"title_multi_language_list":[{"locale":"es_ES","title":"test"}],"description_multi_language_list":[{"locale":"es_ES","module_list":[{"type":"html","html":{"content":"test"}}]}],"locale":"es_ES","product_units_type":"100000000","image_url_list":["https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg"],"category_attributes":{"Brand Name":{"value":"200010868"},"Material":{"value":["47","49"]},"Clothing Length":{"value":"1876"}},"sku_info_list":[{"sku_code":"234","inventory":234,"price":23,"discount_price":12,"sku_attributes":{"Size":{"value":"200000989"},"Color":{"alias":"32","sku_image_url":"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg","value":"771"}}}],"inventory_deduction_strategy":"place_order_withhold","package_weight":234,"package_length":234,"package_height":234,"package_width":234,"shipping_preparation_time":3,"shipping_template_id":"1000","service_template_id":"0"}
    • Content of each item, which follows different format according to different feed type.
    • └ item_content_id
    • String
    • 必须
    • A00000000Y1
    • The id of the item_content, which could be defined by the seller. item_content_id should be unique among all the items in item_list.This field also appears in the API:aliexpress.solution.feed.query, which is regarding the convenience for the sellers to match the item_execuation_result with the item_content.
    developer_features String 可选 {"source":"Lengow"} More information of the request.

    响应参数

    名称 类型 示例值 描述
    job_id Number 200000000060024475 job id,which is for querying the job response later.

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AliexpressSolutionFeedSubmitRequest req = new AliexpressSolutionFeedSubmitRequest();
    req.setOperationType("PRODUCT_CREATE");
    List<AliexpressSolutionFeedSubmitRequest.SingleItemRequestDto> list2 = new ArrayList<AliexpressSolutionFeedSubmitRequest.SingleItemRequestDto>();
    AliexpressSolutionFeedSubmitRequest.SingleItemRequestDto obj3 = new AliexpressSolutionFeedSubmitRequest.SingleItemRequestDto();
    list2.add(obj3);
    obj3.setItemContent("{\"category_id\":200000346,\"title_multi_language_list\":[{\"locale\":\"es_ES\",\"title\":\"test\"}],\"description_multi_language_list\":[{\"locale\":\"es_ES\",\"module_list\":[{\"type\":\"html\",\"html\":{\"content\":\"test\"}}]}],\"locale\":\"es_ES\",\"product_units_type\":\"100000000\",\"image_url_list\":[\"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg\"],\"category_attributes\":{\"Brand Name\":{\"value\":\"200010868\"},\"Material\":{\"value\":[\"47\",\"49\"]},\"Clothing Length\":{\"value\":\"1876\"}},\"sku_info_list\":[{\"sku_code\":\"234\",\"inventory\":234,\"price\":23,\"discount_price\":12,\"sku_attributes\":{\"Size\":{\"value\":\"200000989\"},\"Color\":{\"alias\":\"32\",\"sku_image_url\":\"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg\",\"value\":\"771\"}}}],\"inventory_deduction_strategy\":\"place_order_withhold\",\"package_weight\":234,\"package_length\":234,\"package_height\":234,\"package_width\":234,\"shipping_preparation_time\":3,\"shipping_template_id\":\"1000\",\"service_template_id\":\"0\"}");
    obj3.setItemContentId("A00000000Y1");
    req.setItemList(list2);
    req.setDeveloperFeatures("{\"source\":\"Lengow\"}");
    AliexpressSolutionFeedSubmitResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <aliexpress_solution_feed_submit_response>
        <job_id>200000000060024475</job_id>
    </aliexpress_solution_feed_submit_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

    返回
    顶部