¥开放平台基础API必须用户授权
查询卖家用户信息(只能查询有店铺的用户) 只能卖家类应用调用。
公共参数
请求地址:
HTTP地址
http://gw.api.taobao.com/router/rest
公共请求参数:
公共响应参数:
请求参数
点击获取key和secret请求示例
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UserSellerGetRequest req = new UserSellerGetRequest();
req.setFields(“nick,sex”);
UserSellerGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
响应示例
<user_seller_get_response>
<user_id>10001</user_id>
hz0799
m
<seller_credit>
1
1
<total_num>1</total_num>
<good_num>1</good_num>
</seller_credit>
B
<has_more_pic>true</has_more_pic>
<item_img_num>5</item_img_num>
<item_img_size>1024</item_img_size>
<prop_img_num>5</prop_img_num>
<prop_img_size>1024</prop_img_size>
<auto_repost>unlimited</auto_repost>
<promoted_type>authentication</promoted_type>
normal
<alipay_bind>bind</alipay_bind>
<consumer_protection>true</consumer_protection>
<vip_info>v1</vip_info>
<magazine_subscribe>true</magazine_subscribe>
<vertical_market>3C,shoes</vertical_market>
http://assets.taobaocdn.com/app/sns/img/default/avatar-120.png
<online_gaming>true</online_gaming>
true
<sign_food_seller_promise>true</sign_food_seller_promise>
<has_shop>true</has_shop>
<is_lightning_consignment>true</is_lightning_consignment>
<has_sub_stock>true</has_sub_stock>
<is_golden_seller>true</is_golden_seller>
<is_tjb_seller>false</is_tjb_seller>
</user_seller_get_response>
异常示例
<error_response>
50
Remote service error
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>