提供给简单商品的查询,主要应用于社交场景展示
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
product_id | Number | 可选 | 123123 | product id | |
local_country | String | 可选 | RU | country | |
local_language | String | 可选 | ru | language |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | OpenApiDetailVO | 2 | 主对象 |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressOfferProductdisplayQueryRequest req = new AliexpressOfferProductdisplayQueryRequest(); req.setProductId(123123L); req.setLocalCountry( "RU" ); req.setLocalLanguage( "ru" ); AliexpressOfferProductdisplayQueryResponse 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 | < aliexpress_offer_productdisplay_query_response > < result > < image_urls ></ image_urls > < item_offer_site_sale_price ></ item_offer_site_sale_price > < product_price ></ product_price > < subject ></ subject > < discount_rate ></ discount_rate > < evaluation_count ></ evaluation_count > < avg_evaluation_rating ></ avg_evaluation_rating > < currency_code >RUB</ currency_code > < order_count >50</ order_count > < english_subject ></ english_subject > < quantity ></ quantity > < brand ></ brand > < categories ></ categories > < description_url ></ description_url > < item_specific_attributes >Color: Black</ item_specific_attributes > < logistics_class >CN</ logistics_class > < online >true</ online > < is_local_product >true</ is_local_product > < category_id >2342342</ category_id > < original_price_cents >9999</ original_price_cents > < discount_price_cents >7777</ discount_price_cents > </ result > </ aliexpress_offer_productdisplay_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 > |
错误码 | 错误描述 | 解决方案 |
---|