联盟推广商品搜索接口,用于搜索联盟推广商品数据
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
app_signature | String | 可选 | aaaaa | 安全签名 | |
fields | String | 可选 | commission_rate,sale_price | commission_rate,sale_price | |
product_ids | String | 可选 | 11111,22222 | 商品ID列表 | |
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 | |
country | String | 可选 | US | 商品收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
resp_result | ResponseDto | resp_result | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressAffiliateProductdetailGetRequest req = new AliexpressAffiliateProductdetailGetRequest(); req.setAppSignature( "aaaaa" ); req.setFields( "commission_rate,sale_price" ); req.setProductIds( "11111,22222" ); req.setTargetCurrency( "USD" ); req.setTargetLanguage( "EN" ); req.setTrackingId( "trackingId" ); req.setCountry( "US" ); AliexpressAffiliateProductdetailGetResponse 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 | < aliexpress_affiliate_productdetail_get_response > < resp_result > < resp_code >200</ resp_code > < resp_msg >success</ resp_msg > < result > < current_record_count >200</ current_record_count > < products > < product > < app_sale_price >300</ app_sale_price > < app_sale_price_currency >USD</ app_sale_price_currency > < commission_rate >3.5%</ commission_rate > < discount >50%</ discount > < evaluate_rate >89.22%</ evaluate_rate > < first_level_category_id >1111</ first_level_category_id > < first_level_category_name >dress</ first_level_category_name > < lastest_volume >300</ lastest_volume > < hot_product_commission_rate >60%</ hot_product_commission_rate > < original_price >300</ 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.3</ target_app_sale_price > < target_app_sale_price_currency >USD</ target_app_sale_price_currency > < target_original_price >360.5</ target_original_price > < target_original_price_currency >USD</ target_original_price_currency > < target_sale_price >320.2</ 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 > </ product > </ products > </ result > </ resp_result > </ aliexpress_affiliate_productdetail_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|