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

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

aliexpress.solution.sku.attribute.query (Query the sku attribute information belonged to a specific category)

Query the sku attribute information belonged to a specific category, customized for oversea merchants.

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query_sku_attribute_info_request SkuAttributeInfoQueryRequest 可选 input parameters
  • └ aliexpress_category_id
  • Number
  • 可选
  • 200000801
  • aliexpress category ID. aliexpress_category_id and category_id could not be both empty.
  • └ category_id
  • String
  • 可选
  • 11112222
  • merchant's category ID

响应参数

名称 类型 示例值 描述
result SkuAttributeInfoQueryResponse result result
  • supporting_sku_attribute_list
  • SupportedSkuAttributeDto []
  • [{"support_customized_picture": true,"size_limit":10,"aliexpress_sku_name":"color","need_customized_picture":false}]
  • supported sku attribute lis
  • └ aliexpress_sku_name
  • String
  • Color
  • aliexpress sku name, the same field when indicating the sku_name for posting product
  • └ required
  • Boolean
  • false
  • Indicates whether this sku attribute is mandatory under this category
  • aliexpress_sku_value_list
  • SkuValueSimplifiedInfoDto []
  • aliexpress sku value list
  • └ aliexpress_sku_value_name
  • String
  • Blue
  • aliexpress sku value name
  • └ support_customized_name
  • Boolean
  • true
  • whether the corresponding aliexpress_sku_name support customized name by merchants
  • └ support_customized_picture
  • Boolean
  • true
  • whether the corresponding aliexpress_sku_name support customized picture
  • supporting_common_attribute_list
  • SupportedCommonAttributeDto []
  • common attributes under a specific category
  • └ aliexpress_common_attribute_name_id
  • Number
  • 10
  • aliexpress common attribute name id
  • └ aliexpress_common_attribute_name
  • String
  • Material
  • aliexpress common attribute name
  • └ required
  • Boolean
  • true
  • whether the common attribute is required under this category
  • aliexpress_common_attribute_value_list
  • CommonAttributeValueInfoDto []
  • aliexpress common attribute value list
  • └ aliexpress_common_attribute_value_id
  • Number
  • 47
  • aliexpress common attribute value id
  • └ aliexpress_common_attribute_value
  • String
  • Cotton
  • aliexpress common attribute value

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSolutionSkuAttributeQueryRequest req = new AliexpressSolutionSkuAttributeQueryRequest();
AliexpressSolutionSkuAttributeQueryRequest.SkuAttributeInfoQueryRequest obj1 = new AliexpressSolutionSkuAttributeQueryRequest.SkuAttributeInfoQueryRequest();
obj1.setAliexpressCategoryId(200000801L);
obj1.setCategoryId("11112222");
req.setQuerySkuAttributeInfoRequest(obj1);
AliexpressSolutionSkuAttributeQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_solution_sku_attribute_query_response>
    <result>
        <supporting_sku_attribute_list>
            <supported_sku_attribute_dto>
                <aliexpress_sku_name>Color</aliexpress_sku_name>
                <required>false</required>
                <aliexpress_sku_value_list>
                    <sku_value_simplified_info_dto>
                        <aliexpress_sku_value_name>Blue</aliexpress_sku_value_name>
                    </sku_value_simplified_info_dto>
                </aliexpress_sku_value_list>
                <support_customized_name>true</support_customized_name>
                <support_customized_picture>true</support_customized_picture>
            </supported_sku_attribute_dto>
        </supporting_sku_attribute_list>
        <supporting_common_attribute_list>
            <supported_common_attribute_dto>
                <aliexpress_common_attribute_name_id>10</aliexpress_common_attribute_name_id>
                <aliexpress_common_attribute_name>Material</aliexpress_common_attribute_name>
                <required>true</required>
                <aliexpress_common_attribute_value_list>
                    <common_attribute_value_info_dto>
                        <aliexpress_common_attribute_value_id>47</aliexpress_common_attribute_value_id>
                        <aliexpress_common_attribute_value>Cotton</aliexpress_common_attribute_value>
                    </common_attribute_value_info_dto>
                </aliexpress_common_attribute_value_list>
            </supported_common_attribute_dto>
        </supporting_common_attribute_list>
    </result>
</aliexpress_solution_sku_attribute_query_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

返回
顶部