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 |
|
1 2 3 4 5 6 7 8 | 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()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | < 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 >[{\"skuPropertyValue\":{\"propertyValueName\":\"Black\"},\"skuPropertyName\":\"Color\"},{\"skuPropertyValue\":{\"propertyValueName\":\"Plastic\",\"propertyValueDefinitionName\":\"For Redmi Note 7\"},\"skuPropertyName\":\"Material\"}]</ 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 > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|