淘宝客-推广者-物料搜索正式版,海外联盟商品库搜索,支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接,并且额外支持渠道自定义参数、分站物料、禁限售/运过滤、海外特色商品库等。 -- Merchandise Search, Search the overseas item library using adzone ID, keywords, and filters to get material info and promotion links.
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
start_price | Number | 可选 | 9 | 商品筛选-折扣价范围下限。单位:元 -- Product Filter - Minimum Discount Price. Unit: Yuan | |
is_tmall | Boolean | 可选 | true | 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限 -- Product Filter - Is Tmall Product. "true" means Tmall product; "false" or not set means not limited | |
unid | String | 可选 | 1234567 | 渠道自定义参数 -- Channel Custom Parameters | |
end_tk_rate | Number | 可选 | 1234 | 商品筛选-淘客佣金比率上限。如:1234表示12.34% -- Product Filter - Maximum Taoke Commission Rate. For example, 1234 means 12.34% | |
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" | |
language | String | 必须 | zh_CN | 语言:zh_CN(中文);en_US(英文) -- Language: zh_CN (Chinese); en_US (English) | |
end_price | Number | 可选 | 19 | 商品筛选-折扣价范围上限。单位:元 -- Product Filter - Maximum Discount Price. Unit: Yuan | |
sort | String | 可选 | tk_rate_des | 排序方式:排序_des(降序),排序_asc(升序),销量(total_sales),淘客收入比率(tk_rate),营销计划佣金(tk_mkt_rate),累计推广量(tk_total_sales),总支出佣金(tk_total_commi),预估到价格(final_promotion_price),匹配分(match) -- Sort Type: sort_des (descending), sort_asc (ascending), Sales (total_sales), Taoke Commission Rate (tk_rate), Marketing Plan Commission (tk_mkt_rate), Total Promotion Volume (tk_total_sales), Total Paid Commission (tk_total_commi), Estimated Price (final_promotion_price), Match Score (match) | |
material_id | Number | 可选 | 106395 | 物料ID,不传时默认物料ID为Site对应站点的物料ID -- Material ID. If not provided, the default is the material ID corresponding to the site. | |
q | String | 可选 | 衣服 | 商品筛选-查询词 -- Product Filter - Search Keyword | |
site | String | 必须 | TW | 站点标识:TW(台湾);HK(香港);MY(马来);SG(新加坡);AU(澳大利亚);CA(加拿大);MO(澳门);GLOBAL(全球),GLOBAL(全球)不存在禁限售的逻辑,若填写指定的站点,会校验禁限售的逻辑。 -- Site Identifier: TW (Taiwan); HK (Hong Kong); MY (Malaysia); SG (Singapore); AU (Australia); CA (Canada); MO (Macau); GLOBAL (Global). The "GLOBAL" identifier does not apply any restricted or prohibited sales logic. If a specific site is specified, the restricted/prohibited sales logic will be enforced. | |
has_coupon | Boolean | 可选 | true | 优惠券筛选-是否有优惠券。true表示该商品有优惠券, false或不设置表示不限 -- Coupon Filter - Has Coupon. "true" means the product has a coupon; "false" or not set means not limited | |
start_tk_rate | Number | 可选 | 1234 | 商品筛选-淘客佣金比率下限。如:1234表示12.34% -- Product Filter - Minimum Taoke Commission Rate. For example, 1234 means 12.34% | |
page_no | Number | 必须 | 1 | 页码,默认1 -- Page Number, default is 1 | |
cat | String | 可选 | 16,18 | 商品筛选-后台类目ID。用,分割,最大10个。 -- Product Filter - Backend Category ID. Separate with commas, up to 10. |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
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); OvsTbkMaterialItemOptionalRequest req = new OvsTbkMaterialItemOptionalRequest(); req.setStartPrice(9L); req.setIsTmall(true); req.setUnid("1234567"); req.setEndTkRate(1234L); req.setPageSize(20L); req.setAdzoneId(12345678L); req.setLanguage("zh_CN"); req.setEndPrice(19L); req.setSort("tk_rate_des"); req.setMaterialId(106395L); req.setQ("衣服"); req.setSite("TW"); req.setHasCoupon(true); req.setStartTkRate(1234L); req.setPageNo(1L); req.setCat("16,18"); OvsTbkMaterialItemOptionalResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<ovs_tbk_material_item_optional_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>1748966401000</promotion_title> <promotion_start_time>直降9元</promotion_start_time> <promotion_desc>1753943938000</promotion_desc> <promotion_end_time>2191463496637</promotion_end_time> <promotion_id>秒杀直降</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_optional_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|