查询联盟爆品API
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
app_signature | String | 可选 | sssfffxxgggg | 请求签名 | |
category_ids | String | 可选 | 111,222,333 | 类目ID列表 | |
fields | String | 可选 | app_sale_price,shop_id | 返回字段列表 | |
keywords | String | 可选 | mp3 | 关键词 | |
max_sale_price | Number | 可选 | 33333 | 最大售价 | |
min_sale_price | Number | 可选 | 22222 | 最小售价 | |
page_no | Number | 可选 | 111 |
|
请求页数 |
page_size | Number | 可选 | 50 |
|
每次请求数量 |
platform_product_type | String | 可选 | TMALL | 平台商家类型:ALL,PLAZA,TMALL | |
sort | String | 可选 | SALE_PRICE_ASC | 排序方式:SALE_PRICE_ASC, SALE_PRICE_DESC, DISCOUNT_ASC, DISCOUNT_DESC, LAST_VOLUME_ASC, LAST_VOLUME_DESC | |
target_currency | String | 可选 | USD | 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW | |
target_language | String | 可选 | EN | 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN | |
tracking_id | String | 可选 | trackingId | trackingId | |
delivery_days | String | 可选 | 3 | 物流到达时间。3:3日达,5:5 日达,7:7日达,10:10日达 | |
ship_to_country | String | 可选 | US | 商品收货国家,根据该国家税率政策返回对应商品价格 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
resp_result | ResponseDto | resp_result | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressAffiliateHotproductQueryRequest req = new AliexpressAffiliateHotproductQueryRequest(); req.setAppSignature( "sssfffxxgggg" ); req.setCategoryIds( "111,222,333" ); req.setFields( "app_sale_price,shop_id" ); req.setKeywords( "mp3" ); req.setMaxSalePrice(33333L); req.setMinSalePrice(22222L); req.setPageNo(111L); req.setPageSize(50L); req.setPlatformProductType( "TMALL" ); req.setSort( "SALE_PRICE_ASC" ); req.setTargetCurrency( "USD" ); req.setTargetLanguage( "EN" ); req.setTrackingId( "trackingId" ); req.setDeliveryDays( "3" ); req.setShipToCountry( "US" ); AliexpressAffiliateHotproductQueryResponse 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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | < aliexpress_affiliate_hotproduct_query_response > < resp_result > < resp_code >200</ resp_code > < resp_msg >success</ resp_msg > < result > < current_page_no >1</ current_page_no > < current_record_count >50</ current_record_count > < products > < product > < app_sale_price >362</ app_sale_price > < app_sale_price_currency >USD</ app_sale_price_currency > < commission_rate >3.5%</ commission_rate > < discount >50%</ discount > < evaluate_rate >92.1%</ evaluate_rate > < first_level_category_id >1111111</ first_level_category_id > < first_level_category_name >Women's Clothing</ first_level_category_name > < lastest_volume >300</ lastest_volume > < hot_product_commission_rate >60%</ hot_product_commission_rate > < original_price >100</ original_price > < original_price_currency >USD</ original_price_currency > < platform_product_type >TMALL</ platform_product_type > < product_id >33006951782</ product_id > < product_main_image_url >https://ae01.alicdn.com/kf/HTB1tyl7bELrK1Rjy0Fjq6zYXFXaC/Spring-Autumn-mother-daughter-dress-matching-family-outfits-mother-kids-dress-matching-outfits-flamingo-embroidery-1.jpg</ product_main_image_url > < product_small_image_urls > </ product_small_image_urls > < product_title >Spring Autumn mother daughter dress matching family outfits mother kids dress matching outfits flamingo embroidery 1 to 11 yrs</ product_title > < product_video_url >https://ae01.alicdn.com/kf/HTB1tyl7bELrK1Rjy0Fjq6zYXFXaC/Spring-Autumn-mother-daughter-dress-matching-family-outfits-mother-kids-dress-matching-outfits-flamingo-embroidery-1.jpg</ product_video_url > < sale_price >15.9</ sale_price > < sale_price_currency >USD</ sale_price_currency > < second_level_category_id >333333</ second_level_category_id > < second_level_category_name >Women's Clothing</ second_level_category_name > < shop_id >111111</ shop_id > < target_app_sale_price >330</ target_app_sale_price > < target_app_sale_price_currency >USD</ target_app_sale_price_currency > < target_original_price >380</ target_original_price > < target_original_price_currency >USD</ target_original_price_currency > < target_sale_price >350</ target_sale_price > < target_sale_price_currency >USD</ target_sale_price_currency > < relevant_market_commission_rate >10%</ relevant_market_commission_rate > < promo_code_info > < promo_code >GMG20207</ promo_code > < code_campaigntype >1</ code_campaigntype > < code_value >On order over USD 10, get USD 7 off</ code_value > < code_availabletime_start >2020-04-01 00:00:00</ code_availabletime_start > < code_availabletime_end >2020-04-30 23:59:59</ code_availabletime_end > < code_mini_spend >1</ code_mini_spend > < code_quantity >1</ code_quantity > </ promo_code_info > < ship_to_days >ship to RU in 7 days</ ship_to_days > </ product > </ products > < total_page_no >222</ total_page_no > < total_record_count >3333</ total_record_count > </ result > </ resp_result > </ aliexpress_affiliate_hotproduct_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 > |
错误码 | 错误描述 | 解决方案 |
---|