taobao.user.seller.get( 查询卖家用户信息 )

386 篇文章 2 订阅
158 篇文章 0 订阅

¥开放平台基础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>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值