¥开放平台基础API必须用户授权
批量获取商品详细信息
点击查看更多商品API说明
公共参数
请求地址:
HTTP地址
http://gw.api.taobao.com/router/rest
公共请求参数:
公共响应参数:
请求参数
点击获取key和secret
请求示例
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ItemsSellerListGetRequest req = new ItemsSellerListGetRequest();
req.setFields("num_iid,title,nick,approve_status,num,sku");
req.setNumIids("123456,234567");
ItemsSellerListGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
响应示例
<items_seller_list_get_response>
<items>
<item>
<after_sale_id>123</after_sale_id>
<approve_status>onsale</approve_status>
<auction_point>15</auction_point>
<auto_fill>time_card</auto_fill>
<auto_repost>true</auto_repost>
<barcode>6903244981002</barcode>
<cid>132443</cid>
<cod_postage_id>53899</cod_postage_id>
<created>2000-01-01 00:00:00</created>
<custom_made_type_id>1</custom_made_type_id>
<delist_time>2000-01-01 00:00:00</delist_time>
<desc>这是一个好商品</desc>
<desc_module_info>
<anchor_module_ids>1,4,7</anchor_module_ids>
<type>1</type>
</desc_module_info>
<detail_url>http://item.taobao.com/item.htm?id=4947813209</detail_url>
<ems_fee>5.00</ems_fee>
<express_fee>5.00</express_fee>
<features>;tags:3522,7234;source:sell;sp:2;</features>
<food_security>
<contact>00800-021216</contact>
<design_code>Q/DHL.001-2008</design_code>
<factory>远东恒天然乳品有限公司</factory>
<factory_site>台北市仁爱路4段85号</factory_site>
<food_additive>磷脂 、膨松剂</food_additive>
<health_product_no>卫食健字(1997)第167号</health_product_no>
<mix>有机乳糖、有机植物油</mix>
<period>2年</period>
<plan_storage>常温</plan_storage>
<prd_license_no>QS410006010388</prd_license_no>
<product_date_end>2012-06-10</product_date_end>
<product_date_start>2012-06-01</product_date_start>
<stock_date_end>2012-06-30</stock_date_end>
<stock_date_start>2012-06-20</stock_date_start>
<supplier>深圳岸通商贸有限公司</supplier>
</food_security>
<freight_payer>seller</freight_payer>
<global_stock_country>美国</global_stock_country>
<global_stock_type>1</global_stock_type>
<has_discount>true</has_discount>
<has_invoice>true</has_invoice>
<has_showcase>true</has_showcase>
<has_warranty>true</has_warranty>
<increment>0</increment>
<inner_shop_auction_template_id>2185480</inner_shop_auction_template_id>
<input_pids>2432,5353,656425</input_pids>
<input_str>耐克;耐克系列;科比系列;科比系列;2K5</input_str>
<is_3D>true</is_3D>
<is_ex>true</is_ex>
<is_fenxiao>0</is_fenxiao>
<is_lightning_consignment>true</is_lightning_consignment>
<is_prepay>true</is_prepay>
<is_taobao>true</is_taobao>
<is_timing>true</is_timing>
<is_virtual>true</is_virtual>
<is_xinpin>false</is_xinpin>
<item_imgs>
<item_img>
<created>2000-01-01 00:00:00</created>
<id>1645920</id>
<position>1</position>
<url>http://img03.taobao.net/bao/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg</url>
</item_img>
</item_imgs>
<item_size>bulk:10</item_size>
<item_weight>10</item_weight>
<list_time>2009-10-22 14:22:06</list_time>
<locality_life>
<choose_logis>0</choose_logis>
<eticket>;market:eticket;refundmafee:b;</eticket>
<expirydate>2012-08-06,2012-08-16</expirydate>
<merchant>56879:码商X</merchant>
<network_id>5645746</network_id>
<onsale_auto_refund_ratio>80</onsale_auto_refund_ratio>
<refund_ratio>50</refund_ratio>
<refundmafee>b</refundmafee>
<verification>1</verification>
</locality_life>
<location>
<city>杭州</city>
<state>浙江</state>
</location>
<modified>2000-01-01 00:00:00</modified>
<mpic_video>
<num_iid>1497217011</num_iid>
<video_duaration>9</video_duaration>
<video_id>9527</video_id>
<video_pic>http://img02.taobaocdn.com/bao/uploaded/T14rGfFqJfXXXXXXXX.jpg</video_pic>
<video_status>0</video_status>
</mpic_video>
<newprepay>1</newprepay>
<nick>tbtest561</nick>
<num>8888</num>
<num_iid>1489161932</num_iid>
<one_station>true</one_station>
<outer_id>34143554352</outer_id>
<outer_shop_auction_template_id>2185481</outer_shop_auction_template_id>
<paimai_info>
<deposit>20</deposit>
<increment>5</increment>
<interval>5</interval>
<mode>1</mode>
<reserve>12.0</reserve>
<valid_hour>20</valid_hour>
<valid_minute>23</valid_minute>
<repeat>1</repeat>
<start>2009-11-04 15:24:43</start>
<end>2009-11-04 15:24:43</end>
<start_price>1000</start_price>
<ceil_price>20000</ceil_price>
<delay_in_minute>5</delay_in_minute>
<period>55</period>
<frequency>5</frequency>
</paimai_info>
<period_sold_quantity>100</period_sold_quantity>
<pic_url>http://img03.taobao.net/bao/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg</pic_url>
<post_fee>5.00</post_fee>
<postage_id>32</postage_id>
<price>5.00</price>
<product_id>85883030</product_id>
<promoted_service>2</promoted_service>
<prop_imgs>
<prop_img>
<id>1646146</id>
<position>1</position>
<properties>1627207:28326</properties>
<url>http://img03.taobao.net/bao/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg</url>
</prop_img>
</prop_imgs>
<property_alias>property</property_alias>
<props>135255:344454</props>
<props_name>20000:3275069:品牌:盈讯;1753146:3485013:型号:F908;30606:112030:上市时间:2008年</props_name>
<score>2</score>
<second_kill>web_only</second_kill>
<sell_point>2013新款 时尚 前卫</sell_point>
<sell_promise>true</sell_promise>
<seller_cids>2234445,3344466,446434</seller_cids>
<skus>
<sku>
<barcode>6903244981002</barcode>
<created>2009-11-04 15:24:43</created>
<modified>2009-11-04 15:24:43</modified>
<outer_id>12345</outer_id>
<price>200.07</price>
<properties>1243:1215;5626:5125</properties>
<properties_name>20000:3275069:品牌:盈讯;1753146:3485013:型号:F908;-1234:-5678:自定义属性1:属性值1</properties_name>
<quantity>3</quantity>
<sku_id>123</sku_id>
<sku_feature>
<color_hot_new>热卖</color_hot_new>
<color_material_img>i3/2049872296/TB2VOVaXXXXXXXEXXXXXXXXXXXX_!!2049872296.jpg</color_material_img>
<color_value>FF1493</color_value>
<color_material>哑光</color_material>
<color_series>正红色</color_series>
</sku_feature>
</sku>
</skus>
<sold_quantity>8888</sold_quantity>
<stuff_status>new</stuff_status>
<sub_stock>1</sub_stock>
<template_id>123456</template_id>
<title>Google test item</title>
<type>fixed</type>
<valid_thru>7</valid_thru>
<video_id>9527</video_id>
<videos>
<video>
<created>2000-01-01 00:00:00</created>
<id>123456</id>
<modified>2000-01-01 00:00:00</modified>
<url>http://js.tudouui.com/bin/taobaoisv/TaoBaoPlayer.swf……</url>
<video_id>123456</video_id>
</video>
</videos>
<violation>true</violation>
<volume>22</volume>
<wap_desc>Wap宝贝详情</wap_desc>
<wap_detail_url>http://auction1.wap.taobao.com/auction/item_detail-0db0-1234567.jhtml</wap_detail_url>
<wireless_desc>无线宝贝描述,亲</wireless_desc>
<with_hold_quantity>12</with_hold_quantity>
<ww_status>true</ww_status>
<desc_modules>[{"module_id":123,"module_name":"模特图","type":"cat_mod","content":"模特要漂亮一点拜托"},{"module_id":null,"module_name":"店主最漂亮","type":"usr_mod","content":"老娘全网最美"}]</desc_modules>
<cuntao_item_specific>
<kick_back_rate>3.3即3.3%佣金率</kick_back_rate>
</cuntao_item_specific>
<item_rectangle_imgs>
<item_img>
<position>0</position>
<url>http://img03.taobao.net/bao/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg</url>
</item_img>
</item_rectangle_imgs>
</item>
</items>
</items_seller_list_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>