文档中心 > API类目 > 五道口API

alibaba.rex.skyeye.core.shop.attr.get (门店业态查询)

门店业态查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
shop_code String 必须 8028 门店编码
merchant_code String 必须 HM 商家编码

响应参数

名称 类型 示例值 描述
result IotResult 结果
  • data
  • OuAttributeDTO
  • 门店信息
  • └ merchant_code
  • String
  • HM
  • 商家编码
  • └ shop_code
  • String
  • 8028
  • 门店编码
  • └ shop_name
  • String
  • xxxx
  • 门店名称
  • └ attribute_value
  • String
  • AL
  • 业态
  • └ success
  • Boolean
  • true
  • 成功
  • └ msg_info
  • String
  • ok
  • 错误消息
  • └ msg_code
  • String
  • ok
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaRexSkyeyeCoreShopAttrGetRequest req = new AlibabaRexSkyeyeCoreShopAttrGetRequest();
req.setShopCode("8028");
req.setMerchantCode("HM");
AlibabaRexSkyeyeCoreShopAttrGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_rex_skyeye_core_shop_attr_get_response>
    <result>
        <data>
            <merchant_code>HM</merchant_code>
            <shop_code>8028</shop_code>
            <shop_name>xxxx</shop_name>
            <attribute_value>AL</attribute_value>
        </data>
        <success>true</success>
        <msg_info>ok</msg_info>
        <msg_code>ok</msg_code>
    </result>
</alibaba_rex_skyeye_core_shop_attr_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

返回
顶部