taobao.fenxiao.distributors.get (获取分销商信息)

查询和当前登录供应商有合作关系的分销商的信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
nicks String 必须 nick1,nick2,nick3 分销商用户名列表。多个之间以“,”分隔;最多支持50个分销商用户名。

响应参数

名称 类型 示例值 描述
distributors Distributor [] 分销商详细信息
  • └ distributor_id
  • Number
  • 10001
  • 分销商Id
  • └ distributor_name
  • String
  • 王二
  • 分销商姓名
  • └ contact_person
  • String
  • 赵六
  • 联系人
  • └ mobile_phone
  • String
  • 13737631234
  • 分销商的手机号
  • └ phone
  • String
  • 0571-88156789-1098
  • 分销商的电话
  • └ email
  • String
  • abc@126.com
  • 分销商的email
  • └ alipay_account
  • String
  • hz0799@163.com
  • 分销商的支付宝帐户
  • └ shop_web_link
  • String
  • http://shopxxx.com
  • 分销商的网店链接
  • └ full_name
  • String
  • nick1
  • 分销商的真实姓名,认证姓名
  • └ starts
  • Date
  • 2000-01-01 00:00:00
  • 分销商卖家的开店时间
  • └ category_id
  • Number
  • 123
  • 分销商店铺主营类目
  • └ level
  • Number
  • 123
  • 店铺等级
  • └ appraise
  • Number
  • 13
  • 分销商的淘宝卖家评价

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FenxiaoDistributorsGetRequest req = new FenxiaoDistributorsGetRequest();
req.setNicks("nick1,nick2,nick3");
FenxiaoDistributorsGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<fenxiao_distributors_get_response>
    <distributors>
        <distributor>
            <distributor_id>10001</distributor_id>
            <distributor_name>王二</distributor_name>
            <contact_person>赵六</contact_person>
            <mobile_phone>13737631234</mobile_phone>
            <phone>0571-88156789-1098</phone>
            <email>abc@126.com</email>
            <alipay_account>hz0799@163.com</alipay_account>
            <shop_web_link>http://shopxxx.com</shop_web_link>
            <full_name>nick1</full_name>
            <starts>2000-01-01 00:00:00</starts>
            <category_id>123</category_id>
            <level>123</level>
            <appraise>13</appraise>
        </distributor>
    </distributors>
</fenxiao_distributors_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部