淘宝客-推广者-商品详情查询正式版,海外联盟商品详情查询,支持商品ID,获取对应的物料信息,并且额外支持渠道自定义参数、分站物料、禁限售/运过滤、海外特色商品库等。 -- Official version of product detail query, overseas affiliate product detail query. Supports querying by product ID to obtain the corresponding material information, and additionally supports custom channel parameters, sub-site materials, prohibited/restricted sales or shipping filtering, overseas specialty product collections, and more.
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
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. | |
item_ids | String | 必须 | O0rq6kjfzt6WxJ3gj8H42ahkiJ-5Aqw2ATWpWVJn09UZ | 商品ID串,用,分割,最大40个 -- Product ID string, separated by commas, maximum 40 entries. | |
language | String | 必须 | zh_CN | 语言:zh_CN(中文);en_US(英文) -- Language: zh_CN (Chinese); en_US (English) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
items | MaterialItemSummaryInfo [] | 商品列表 -- Product list | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); OvsTbkMaterialItemInfoGetRequest req = new OvsTbkMaterialItemInfoGetRequest(); req.setSite("TW"); req.setItemIds("O0rq6kjfzt6WxJ3gj8H42ahkiJ-5Aqw2ATWpWVJn09UZ"); req.setLanguage("zh_CN"); OvsTbkMaterialItemInfoGetResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<ovs_tbk_material_item_info_get_response> <items> <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> <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>2.00</income_rate> <commission_type>MKT</commission_type> </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> </items> </ovs_tbk_material_item_info_get_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|