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

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

aliexpress.solution.product.list.get (Get product list)

Get product list

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
aeop_a_e_product_list_query ItemListQuery 可选 request parameters to query
  • └ current_page
  • Number
  • 可选
  • 2
  • Current page of products to be needed. The default page is page 1.
  • └ excepted_product_ids
  • Number []
  • 可选
  • [32962333569,32813963253]
  • Product Ids which needs to be excluded
  • └ off_line_time
  • Number
  • 可选
  • 7
  • Search field by expiration date. For example, if the value for expiration date is 3, it means to query products to be offline within 3 days.
  • └ owner_member_id
  • String
  • 可选
  • aliqatest01
  • Login ID of product owner
  • └ page_size
  • Number
  • 可选
  • 30
  • Number of products to be queried at each page. The input value must be less than 100, the default value of which is 20.
  • └ product_id
  • Number
  • 可选
  • 123
  • product id
  • └ product_status_type
  • String
  • 必须
  • onSelling
  • onSelling Product operation status. Currently, it is divided into 4 types with the following input parameters respectively: onSelling; offline; auditing; and editingRequired.
  • └ subject
  • String
  • 可选
  • knew odd
  • Fuzzy search field by product subject. It only supports half-width numbers in English with a length not more than 128.
  • └ ws_display
  • String
  • 可选
  • expire_offline
  • Reasons for product offline: expire_offline; user_offline; violate_offline; punish_offline; and degrade_offline.
  • └ have_national_quote
  • String
  • 可选
  • n
  • Whether having national quotation. "y" for yes, "n" for no.
  • └ group_id
  • Number
  • 可选
  • 1234
  • Search field by product groups. Enter product group id (groupId).
  • └ gmt_create_start
  • Date
  • 可选
  • 2012-01-01 12:13:14
  • Search for products created after a specific time, format: yyyy-MM-dd hh:mm:ss
  • └ gmt_create_end
  • Date
  • 可选
  • 2012-01-01 12:13:14
  • Search for products created before a specific time,yyyy-MM-dd hh:mm:ss
  • └ gmt_modified_start
  • Date
  • 可选
  • 2012-01-01 12:13:14
  • Search for product modified after a specific time,yyyy-MM-dd hh:mm:ss
  • └ gmt_modified_end
  • Date
  • 可选
  • 2012-01-01 12:13:14
  • Search for products modified before a specific time,yyyy-MM-dd hh:mm:ss
  • └ sku_code
  • String
  • 可选
  • 123ABC
  • merchant sku code

响应参数

名称 类型 示例值 描述
result ItemListResultDto 0 result
  • └ error_message
  • String
  • 系统异常!
  • error message
  • └ error_code
  • Number
  • 16009999
  • error code
  • └ total_page
  • Number
  • 100
  • total page
  • └ success
  • Boolean
  • true
  • success or not
  • └ product_count
  • Number
  • 1201
  • products total count
  • └ error_msg
  • String
  • 0
  • error msg
  • └ current_page
  • Number
  • 10
  • current page
  • aeop_a_e_product_display_d_t_o_list
  • ItemDisplayDto []
  • 0
  • product list
  • └ ws_offline_date
  • Date
  • 0
  • product offline time
  • └ ws_display
  • String
  • 0
  • product offline reason
  • └ subject
  • String
  • knew odd
  • product tite
  • └ src
  • String
  • 0
  • product src
  • └ product_min_price
  • String
  • 0
  • min price among all skus of the product
  • └ product_max_price
  • String
  • 0
  • max price among all skus of the product
  • └ product_id
  • Number
  • 0
  • product id
  • └ owner_member_seq
  • Number
  • 0
  • seller member seq
  • └ owner_member_id
  • String
  • 0
  • seller login id
  • └ image_u_r_ls
  • String
  • 0
  • product image urls
  • └ group_id
  • Number
  • 123
  • group id
  • └ gmt_modified
  • Date
  • 0
  • time that product was modifed
  • └ gmt_create
  • Date
  • 0
  • time that product was created
  • └ freight_template_id
  • Number
  • 0
  • freight template id
  • └ currency_code
  • String
  • USD;RUB
  • currency code
  • └ coupon_start_date
  • Date
  • 0
  • Coupon start date, GMT+8
  • └ coupon_end_date
  • Date
  • 0
  • Coupon end date, GMT+8

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSolutionProductListGetRequest req = new AliexpressSolutionProductListGetRequest();
AliexpressSolutionProductListGetRequest.ItemListQuery obj1 = new AliexpressSolutionProductListGetRequest.ItemListQuery();
obj1.setCurrentPage(2L);
obj1.setExceptedProductIds(new Long[] { 32962333569,32813963253 };
);
obj1.setOffLineTime(7L);
obj1.setOwnerMemberId("aliqatest01");
obj1.setPageSize(30L);
obj1.setProductId(123L);
obj1.setProductStatusType("onSelling");
obj1.setSubject("knew odd");
obj1.setWsDisplay("expire_offline");
obj1.setHaveNationalQuote("n");
obj1.setGroupId(1234L);
obj1.setGmtCreateStart(StringUtils.parseDateTime("2012-01-01 12:13:14"));
obj1.setGmtCreateEnd(StringUtils.parseDateTime("2012-01-01 12:13:14"));
obj1.setGmtModifiedStart(StringUtils.parseDateTime("2012-01-01 12:13:14"));
obj1.setGmtModifiedEnd(StringUtils.parseDateTime("2012-01-01 12:13:14"));
obj1.setSkuCode("123ABC");
req.setAeopAEProductListQuery(obj1);
AliexpressSolutionProductListGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_solution_product_list_get_response>
    <result>
        <error_message>系统异常!</error_message>
        <error_code>16009999</error_code>
        <total_page>100</total_page>
        <success>true</success>
        <product_count>1201</product_count>
        <error_msg>0</error_msg>
        <current_page>10</current_page>
        <aeop_a_e_product_display_d_t_o_list>
            <item_display_dto>
                <ws_offline_date>0</ws_offline_date>
                <ws_display>0</ws_display>
                <subject>knew odd</subject>
                <src>0</src>
                <product_min_price>0</product_min_price>
                <product_max_price>0</product_max_price>
                <product_id>0</product_id>
                <owner_member_seq>0</owner_member_seq>
                <owner_member_id>0</owner_member_id>
                <image_u_r_ls>0</image_u_r_ls>
                <group_id>123</group_id>
                <gmt_modified>0</gmt_modified>
                <gmt_create>0</gmt_create>
                <freight_template_id>0</freight_template_id>
                <currency_code>USD;RUB</currency_code>
                <coupon_start_date>0</coupon_start_date>
                <coupon_end_date>0</coupon_end_date>
            </item_display_dto>
        </aeop_a_e_product_display_d_t_o_list>
    </result>
</aliexpress_solution_product_list_get_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

返回
顶部