文档中心 > API类目 > 友品海购API

alibaba.yiupin.shop.info.gettag (店主标签信息获取)

通过爱聚方给我传来的店主账号以及编码后的手机号进行获取店主的标签信息进行返回,在爱聚方的聊天界面进行展示

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
wx_id String 必须 wx1212b 微信ID
pho_num String 必须 abcde 电话编码值

响应参数

名称 类型 示例值 描述
result Response 默认描述
  • └ code
  • Number
  • 123
  • 默认描述
  • data
  • AccountTagInfoDto
  • data
  • 实体数据
  • └ channel_type
  • String
  • 公海
  • 店主来源
  • └ seller_sales_level
  • String
  • L1
  • 店主等级
  • └ account_id
  • String
  • xxx@163.com
  • 店主账号
  • └ is_internal
  • String
  • 1
  • 是否内部店主
  • └ shop_owener_type
  • String
  • 正式
  • 店主类型
  • └ success
  • Boolean
  • true
  • 成功
  • └ desc
  • String
  • 11
  • 描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaYiupinShopInfoGettagRequest req = new AlibabaYiupinShopInfoGettagRequest();
req.setWxId("wx1212b");
req.setPhoNum("abcde");
AlibabaYiupinShopInfoGettagResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_yiupin_shop_info_gettag_response>
    <result>
        <code>123</code>
        <data>
            <channel_type>公海</channel_type>
            <seller_sales_level>L1</seller_sales_level>
            <account_id>xxx@163.com</account_id>
            <is_internal>1</is_internal>
            <shop_owener_type>正式</shop_owener_type>
        </data>
        <success>true</success>
        <desc>11</desc>
    </result>
</alibaba_yiupin_shop_info_gettag_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

返回
顶部