aliexpress.social.product.evaluation.query (速卖通社交产品评估查询)

API to get product evaluations list

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
country_code String 可选 RU Country of buyers
page Number 可选 1 Page number
page_size Number 可选 20 Page size
product_id Number 可选 123456 Product to get evaluations for

响应参数

名称 类型 示例值 描述
result OpenApiResult {} Result
  • └ error_code
  • String
  • UNKNOWN_EXCEPTION
  • Error
  • └ error_message
  • String
  • Failed to get evaluations
  • Error
  • result
  • ProductEvaluationResponse
  • {}
  • Result body
  • evaluations
  • BuyerEvaluation []
  • []
  • Evaluations list
  • └ additional_feedback
  • String
  • Awesome
  • Updated feedback
  • └ buyer_blured_name
  • String
  • A****r
  • Buyer blured name
  • └ buyer_country_code
  • String
  • RU
  • Country of buyer
  • └ evaluation
  • String
  • 5
  • Evaluation, stars number
  • └ feedback
  • String
  • Product is great
  • Feedback text
  • └ feedback_epoch_date
  • Number
  • 1611143330
  • Feedback date
  • └ image_urls
  • String []
  • []
  • Buyer added images
  • └ is_anonymous
  • Boolean
  • false
  • if the review is anonymous
  • └ logistics_service
  • String
  • Aliexpress Shipping
  • Logistics service display name
  • └ order_id
  • Number
  • 12332112
  • Order Id
  • └ product_sku
  • String
  • [{\"skuPropertyValue\":{\"propertyValueName\":\"Black\"},\"skuPropertyName\":\"Color\"},{\"skuPropertyValue\":{\"propertyValueName\":\"Plastic\",\"propertyValueDefinitionName\":\"For Redmi Note 7\"},\"skuPropertyName\":\"Material\"}]
  • SKU
  • └ page_number
  • Number
  • 1
  • Page number
  • └ page_size
  • Number
  • 20
  • Page size
  • └ total_number
  • Number
  • 1000
  • Total feedback number
  • └ success
  • Boolean
  • true
  • Success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSocialProductEvaluationQueryRequest req = new AliexpressSocialProductEvaluationQueryRequest();
req.setCountryCode("RU");
req.setPage(1L);
req.setPageSize(20L);
req.setProductId(123456L);
AliexpressSocialProductEvaluationQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_social_product_evaluation_query_response>
    <result>
        <error_code>UNKNOWN_EXCEPTION</error_code>
        <error_message>Failed to get evaluations</error_message>
        <result>
            <evaluations>
                <buyer_evaluation>
                    <additional_feedback>Awesome</additional_feedback>
                    <buyer_blured_name>A****r</buyer_blured_name>
                    <buyer_country_code>RU</buyer_country_code>
                    <evaluation>5</evaluation>
                    <feedback>Product is great</feedback>
                    <feedback_epoch_date>1611143330</feedback_epoch_date>
                    <image_urls>
                        <string>[]</string>
                    </image_urls>
                    <is_anonymous>false</is_anonymous>
                    <logistics_service>Aliexpress Shipping</logistics_service>
                    <order_id>12332112</order_id>
                    <product_sku>[{\&quot;skuPropertyValue\&quot;:{\&quot;propertyValueName\&quot;:\&quot;Black\&quot;},\&quot;skuPropertyName\&quot;:\&quot;Color\&quot;},{\&quot;skuPropertyValue\&quot;:{\&quot;propertyValueName\&quot;:\&quot;Plastic\&quot;,\&quot;propertyValueDefinitionName\&quot;:\&quot;For Redmi Note 7\&quot;},\&quot;skuPropertyName\&quot;:\&quot;Material\&quot;}]</product_sku>
                </buyer_evaluation>
            </evaluations>
            <page_number>1</page_number>
            <page_size>20</page_size>
            <total_number>1000</total_number>
        </result>
        <success>true</success>
    </result>
</aliexpress_social_product_evaluation_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

返回
顶部