taobao.place.store.query (门店信息查询接口)

根据用户授权信息,获取用户的门店公开信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
biz_code String 可选 ncarzone 业务code,用于区分业务
outer_id String 可选 237959275 业务外部id
store_id Number 可选 199994242 门店id

响应参数

名称 类型 示例值 描述
result TopResultDo null Top返回对象
  • └ error_code
  • String
  • 303
  • 错误码
  • └ error_msg
  • String
  • 获取数据异常
  • 错误描述
  • └ failure
  • Boolean
  • false
  • 是否失败
  • result
  • FullStoreTopDto
  • false
  • 返回结果:true成功;false失败
  • └ authen_status
  • Number
  • 1
  • 审核状态
  • └ belong
  • Number
  • 214508360
  • 父级别门店id
  • └ biz_code
  • String
  • std_ncarzone
  • 业务身份
  • └ biz_outer_id
  • String
  • 1111
  • 业务外部id
  • └ biz_type
  • Number
  • 3900
  • 业务类型
  • └ company_name
  • String
  • null
  • 门店所属商户名称
  • └ description
  • String
  • null
  • 门店描述
  • └ logo
  • String
  • null
  • 门店LOGO
  • └ name
  • String
  • 西溪分店
  • 门店名字
  • └ outer_code
  • String
  • null
  • 门店外部编码
  • poi_info
  • PoiInfoDto
  • null
  • 位置地址信息
  • └ address
  • String
  • null
  • 地址
  • └ address_alias
  • String
  • null
  • 地址别名
  • └ address_en
  • String
  • null
  • 英文地址
  • └ address_local
  • String
  • null
  • 当地语言地址
  • └ bunk
  • String
  • null
  • 铺位号
  • └ business_area
  • String
  • null
  • 营业面积
  • └ city
  • Number
  • 111
  • └ city_int
  • Number
  • 222
  • └ city_name
  • String
  • null
  • 市名
  • └ continent
  • Number
  • 333
  • └ continent_name
  • String
  • null
  • 洲名
  • └ country
  • Number
  • null
  • 国家
  • └ country_name
  • String
  • null
  • 国家名
  • └ district
  • Number
  • 444
  • 区域
  • └ district_int
  • Number
  • 444
  • 区域
  • └ district_name
  • String
  • null
  • 区域名
  • └ division_type
  • Number
  • 555
  • 行政区code类型
  • └ floor
  • String
  • null
  • 楼层
  • └ full_address
  • String
  • null
  • 楼层名
  • └ post_code
  • String
  • null
  • 邮政编码
  • └ posx
  • String
  • 11.11
  • 经度
  • └ posy
  • String
  • 22.22
  • 纬度
  • └ prov
  • Number
  • 666
  • └ prov_int
  • Number
  • 666
  • └ prov_name
  • String
  • null
  • 省名
  • └ town
  • Number
  • 777
  • 街道
  • └ town_int
  • Number
  • 777
  • 街道
  • └ town_name
  • String
  • null
  • 街道名
  • └ shop_id
  • Number
  • 店铺id
  • 店铺id
  • └ standard_category_id
  • Number
  • 888
  • 标准类目ID
  • └ status
  • String
  • null
  • 门店状态
  • └ store_id
  • Number
  • 222112
  • 门店ID
  • └ store_type
  • String
  • null
  • 门店类型
  • └ subname
  • String
  • 银泰店
  • 分店名
  • └ tags
  • Number []
  • null
  • 业务TAGS
  • └ type
  • Number
  • 3
  • 门店类型
  • └ user_id
  • Number
  • 111
  • 门店的商家id
  • └ pic
  • String
  • null
  • 门店主图,仅存一张,tfs格式
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ total_num
  • Number
  • 1
  • 个数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
PlaceStoreQueryRequest req = new PlaceStoreQueryRequest();
req.setBizCode("ncarzone");
req.setOuterId("237959275");
req.setStoreId(199994242L);
PlaceStoreQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<place_store_query_response>
    <result>
        <error_code>303</error_code>
        <error_msg>获取数据异常</error_msg>
        <failure>false</failure>
        <result>
            <authen_status>1</authen_status>
            <belong>214508360</belong>
            <biz_code>std_ncarzone</biz_code>
            <biz_outer_id>1111</biz_outer_id>
            <biz_type>3900</biz_type>
            <company_name>null</company_name>
            <description>null</description>
            <logo>null</logo>
            <name>西溪分店</name>
            <outer_code>null</outer_code>
            <poi_info>
                <address>null</address>
                <address_alias>null</address_alias>
                <address_en>null</address_en>
                <address_local>null</address_local>
                <bunk>null</bunk>
                <business_area>null</business_area>
                <city>111</city>
                <city_int>222</city_int>
                <city_name>null</city_name>
                <continent>333</continent>
                <continent_name>null</continent_name>
                <country>null</country>
                <country_name>null</country_name>
                <district>444</district>
                <district_int>444</district_int>
                <district_name>null</district_name>
                <division_type>555</division_type>
                <floor>null</floor>
                <full_address>null</full_address>
                <post_code>null</post_code>
                <posx>11.11</posx>
                <posy>22.22</posy>
                <prov>666</prov>
                <prov_int>666</prov_int>
                <prov_name>null</prov_name>
                <town>777</town>
                <town_int>777</town_int>
                <town_name>null</town_name>
            </poi_info>
            <shop_id>店铺id</shop_id>
            <standard_category_id>888</standard_category_id>
            <status>null</status>
            <store_id>222112</store_id>
            <store_type>null</store_type>
            <subname>银泰店</subname>
            <tags>
                <number>null</number>
            </tags>
            <type>3</type>
            <user_id>111</user_id>
            <pic>null</pic>
        </result>
        <success>true</success>
        <total_num>1</total_num>
    </result>
</place_store_query_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

返回
顶部