淘宝客-推广者-物料精选正式版,海外联盟商品库推荐,支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,并且额外支持渠道自定义参数、分站物料、禁限售/运过滤、海外特色商品库等。 -- Merchandise Recommend, Recommended Overseas Affiliate Product Library: Supports input of the corresponding "ad zone ID" and the official "material ID" to obtain specified material information and promotion links. Additionally, it supports custom channel parameters, subsite materials, filtering for prohibited/restricted sales or shipping, as well as overseas-featured product libraries.
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| unid | String | 可选 | 1234567 | 渠道自定义参数 -- Channel Custom Parameters | |
| page_no | Number | 可选 | 1 | 页码,默认1 -- Page Number, default is 1 | |
| page_size | Number | 可选 | 20 | 页大小,默认20,1~100 -- Page Size, default is 20, range 1~100 | |
| adzone_id | Number | 可选 | 12345678 | 推广位ID,mm_xxx_xxx_12345678三段式的最后一段数字 -- Ad Zone ID, the last segment of the three-part "mm_xxx_xxx_12345678" | |
| material_id | Number | 可选 | 106395 | 官方物料ID -- Official Material ID |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| total_results | Number | 1234 | 搜索到符合条件的结果总数 -- Total number of results matching the criteria |
| next_page | Number | 2 | 下一页页码 -- Next page number |
| has_next | Boolean | true | 是否还有下一页 -- Is there a next page? |
| result_list | MaterialItemSummaryInfo [] | 商品列表 -- Product list | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
OvsTbkMaterialItemRecommendRequest req = new OvsTbkMaterialItemRecommendRequest();
req.setUnid("1234567");
req.setPageNo(1L);
req.setPageSize(20L);
req.setAdzoneId(12345678L);
req.setMaterialId(106395L);
OvsTbkMaterialItemRecommendResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<ovs_tbk_material_item_recommend_response>
<total_results>1234</total_results>
<next_page>2</next_page>
<has_next>true</has_next>
<result_list>
<material_item_summary_info>
<item_id>O0rq6kjfzt6WxJ3gj8H42ahkiJ-5Aqw2ATWpWVJn09UZ</item_id>
<coupon_info>
<coupon_start_fee>17</coupon_start_fee>
<coupon_remain_count>27000</coupon_remain_count>
<coupon_amount>5</coupon_amount>
<coupon_activity_id>30660aec6d334a929186b8ca49892bca</coupon_activity_id>
<coupon_sale_text_info>满17元减5元</coupon_sale_text_info>
<coupon_effective_start_time>1748361600000</coupon_effective_start_time>
<coupon_effective_end_time>1749052799000</coupon_effective_end_time>
</coupon_info>
<publish_info>
<click_url>https://intl.taobao.com/dp?h5Url=https%3A%2F%2Fpre-wormhole.tmall.com%2Fwow%2Fz%2Foversea%2Fgam%2Fpre-ovs-affiliate-pdp%3Fwh_showError%3Dtrue%26itemId%3D527575926534%26pid%3Dmm_26632943_457000242_108856900407%26relationId%3D2852359894%26language%3Dzh_CN%26site%3DOTHER%26ovs_scene%3Dtop_api_link_convert%26is_ovs_cpa%3D1%26ovs_cpa_scene%3Daffiliate_joint_attribution</click_url>
<income_info>
<commission_rate>200</commission_rate>
<lock_rate_start_time>1748361600000</lock_rate_start_time>
<lock_rate>300</lock_rate>
<lock_rate_end_time>1749052799000</lock_rate_end_time>
<commission_amount>0.30</commission_amount>
</income_info>
<income_rate>15.01</income_rate>
<commission_type>MKT</commission_type>
<coupon_share_url>https://intl.taobao.com/dp?h5Url=https%3A%2F%2Fpre-wormhole.tmall.com%2Fwow%2Fz%2Foversea%2Fgam%2Fpre-ovs-affiliate-pdp%3Fwh_showError%3Dtrue%26itemId%3D527575926534%26pid%3Dmm_26632943_457000242_108856900407%26relationId%3D2852359894%26language%3Dzh_CN%26site%3DOTHER%26ovs_scene%3Dtop_api_link_convert%26is_ovs_cpa%3D1%26ovs_cpa_scene%3Daffiliate_joint_attribution</coupon_share_url>
</publish_info>
<price_promotion_info>
<reserve_price>69.8</reserve_price>
<predict_rounding_up_price>9.9</predict_rounding_up_price>
<promotion_tag_list>
<material_item_promotion_tag_d_t_o>
<tag_name>满100减10</tag_name>
</material_item_promotion_tag_d_t_o>
</promotion_tag_list>
<final_promotion_price>59.9</final_promotion_price>
<predict_rounding_up_price_desc>需凑单,需买2件</predict_rounding_up_price_desc>
<final_promotion_path_list>
<material_item_promotion_path_d_t_o>
<promotion_title>商品券</promotion_title>
<promotion_start_time>1750435200000</promotion_start_time>
<promotion_desc>满15减6</promotion_desc>
<promotion_id>4c1fd912051543e1ab095e5925618bf7</promotion_id>
<promotion_end_time>1751299199000</promotion_end_time>
<promotion_fee>6</promotion_fee>
</material_item_promotion_path_d_t_o>
</final_promotion_path_list>
<zk_final_price>29.9</zk_final_price>
<more_promotion_list>
<material_item_more_promotion_d_t_o>
<promotion_title>秒杀直降</promotion_title>
<promotion_start_time>1748966401000</promotion_start_time>
<promotion_desc>直降9元</promotion_desc>
<promotion_end_time>1753943938000</promotion_end_time>
<promotion_id>2191463496637</promotion_id>
</material_item_more_promotion_d_t_o>
</more_promotion_list>
</price_promotion_info>
<item_basic_info>
<white_image>https://img.alicdn.com/bao/uploaded/O1CN01u4x0VE25MYAW4d8ep_!!6000000007512-0-yinhe.jpg</white_image>
<brand_name>凯利来</brand_name>
<level_one_category_name>零食/坚果/特产</level_one_category_name>
<pict_url>https://img.alicdn.com/bao/uploaded/i1/3461918757/O1CN01rvW7VL2EYlLspAtaW_!!0-item_pic.jpg</pict_url>
<short_title>凯利来手撕面包蛋糕点心糕点充饥</short_title>
<title>凯利来千层软手撕面包整箱早餐鲜活蛋糕休闲零食蛋糕点心夜宵充饥</title>
<category_name>传统西式糕点</category_name>
<is_prepay>true</is_prepay>
<seller_id>3461918757</seller_id>
<sub_title>新老包装交替发货,现做现发。</sub_title>
<provcity>河南 濮阳</provcity>
<tk_total_sales>100000</tk_total_sales>
<ratesum>16</ratesum>
<annual_vol>80万+</annual_vol>
<shop_title>凯利来旗舰店</shop_title>
<shop_dsr>48435</shop_dsr>
<user_type>1</user_type>
<level_one_category_id>50002766</level_one_category_id>
<category_id>50012598</category_id>
</item_basic_info>
<presale_info>
<presale_discount_fee_text>179</presale_discount_fee_text>
<presale_end_time>1747065599000</presale_end_time>
<presale_deposit>1</presale_deposit>
<presale_tail_end_time>1747065599000</presale_tail_end_time>
<presale_start_time>1746532800000</presale_start_time>
<presale_tail_start_time>1747065599000</presale_tail_start_time>
</presale_info>
</material_item_summary_info>
</result_list>
</ovs_tbk_material_item_recommend_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|