alibaba.alsc.store.detail (门店模型查询)

门店基础模型信息查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_open_store_model_query_request OpenStoreModelQueryRequest 必须 请求
  • └ biz_domain
  • String
  • 必须
  • 基础域
  • 基础域
  • └ biz_scene
  • String
  • 必须
  • 场景
  • 场景
  • └ biz_scope
  • String
  • 必须
  • 业务域
  • 业务域
  • └ request_id
  • String
  • 必须
  • 请求id
  • 请求id
  • store_unique_info
  • StoreUniqueInfo
  • 必须
  • 主键信息
  • └ store_unique_id
  • String
  • 必须
  • 门店id
  • 门店id
  • └ store_unique_type
  • String
  • 必须
  • 类型
  • 类型

响应参数

名称 类型 示例值 描述
result SingleQueryResult 响应体 响应体
  • └ result_code
  • String
  • 001
  • 错误码
  • └ result_message
  • String
  • 失败
  • 错误信息
  • └ success
  • Boolean
  • success
  • 是否成功
  • value
  • StoreModel
  • 返回模型
  • 响应体
  • store
  • Store
  • 基础模型
  • 基础模型
  • └ biz_channel
  • String
  • 渠道
  • 渠道
  • └ biz_outer_id
  • String
  • 2020072300077000000099059901
  • 门店id
  • └ biz_principal_id
  • String
  • 2088xxx
  • pid
  • └ biz_source
  • String
  • KOUBEI
  • 来源
  • brand
  • Brand
  • 品牌信息
  • 品牌信息
  • └ brand_id
  • String
  • 1111
  • 品牌信息id
  • └ brand_name
  • String
  • 肯德基
  • 品牌信息名称
  • category_list
  • Category []
  • 类目
  • 类目
  • └ category_id
  • String
  • 111
  • 类目id
  • └ name
  • String
  • asdd
  • 类名称
  • └ parent_category_id
  • String
  • 222
  • 上级类目id
  • └ root_category_id
  • String
  • 333
  • 根类目id
  • └ cover
  • String
  • 1
  • 封面图
  • └ gmt_create
  • Date
  • 创建时间
  • 创建时间
  • └ gmt_modified
  • Date
  • 修改时间
  • 修改时间
  • localization
  • Localization
  • 地理位置
  • 地理位置
  • └ address
  • String
  • 地址
  • 地址
  • └ address_memo
  • String
  • 地址备注
  • 地址备注
  • └ business_area_id
  • String
  • 区域id
  • 系统自动生成
  • └ latitude
  • String
  • 123.123
  • 经纬度
  • └ longitude
  • String
  • 88.123
  • 经纬度
  • region
  • Region
  • 区域信息
  • 区域信息
  • └ city_id
  • String
  • 123
  • 城市id
  • └ city_name
  • String
  • 上海
  • 城市名
  • └ country_id
  • String
  • 1
  • 国家id
  • └ country_name
  • String
  • 中国
  • 国家名
  • └ district_id
  • String
  • 123
  • 区域id
  • └ district_name
  • String
  • 普陀区
  • 区域名
  • └ province_id
  • String
  • 1
  • 省份id
  • └ province_name
  • String
  • 上海
  • 省份名
  • └ mobile_no_list
  • String []
  • 180xxx
  • 联系电话
  • └ name
  • String
  • 肯德基
  • 门店名
  • └ status
  • String
  • 状态
  • 状态
  • store_business_info
  • StoreBusinessInfo
  • 营业信息
  • 营业信息
  • └ business_status
  • String
  • OPEN
  • 营业状态
  • business_time
  • StoreBusinessTime
  • 营业时间
  • 营业时间
  • └ business_time_text
  • String
  • 每周一到周五
  • 营业时间文本
  • normal_business_time_list
  • NormalBusinessTime []
  • 正常营业时间
  • 正常营业时间
  • business_hour
  • BusinessHour
  • 12
  • 小时
  • └ cross_day
  • Boolean
  • true
  • 是否跨天
  • └ ranges
  • String []
  • 范围
  • 范围
  • └ type
  • Number
  • 类型
  • 类型
  • └ weeks
  • Number []
  • 星期列表
  • 星期列表
  • └ mode
  • Number
  • 模式
  • 模式
  • └ months
  • Number []
  • 月份
  • 月份
  • special_business_time_list
  • SpecialBusinessTime []
  • 特殊营业时间
  • 特殊营业时间
  • business_hour
  • BusinessHour
  • 小时
  • 小时
  • └ cross_day
  • Boolean
  • 是否跨天
  • 是否跨天
  • └ ranges
  • String []
  • 范围
  • 范围
  • └ type
  • Number
  • 类型
  • 类型
  • └ weeks
  • Number []
  • 星期
  • 星期
  • date_range
  • DateRange
  • 天范围
  • 天范围
  • └ end_day
  • Number
  • 21
  • 结束日期
  • └ end_month
  • Number
  • 12
  • 结束月份
  • └ end_year
  • Number
  • 2023
  • 结束年份
  • └ start_day
  • Number
  • 12
  • 开始日期
  • └ start_month
  • Number
  • 12
  • 开始月份
  • └ start_year
  • Number
  • 2019
  • 开始年份
  • └ mode
  • Number
  • 模式
  • 模式
  • └ store_id
  • Number
  • 123123
  • 门店id
  • └ store_type
  • String
  • common
  • 门店类型
  • └ test
  • Boolean
  • false
  • 是否测试
  • └ valid_status
  • String
  • valid
  • 有效性状态
  • store_extends_info
  • AlscStoreExtendsInfo
  • 扩展信息
  • 扩展信息
  • store_tags
  • AlscStoreTagInfo []
  • 服务标签
  • 服务标签
  • └ tag_desc
  • String
  • 有停车位
  • 描述
  • └ tag_source
  • String
  • 口碑
  • 来源
  • └ tag_type
  • String
  • service
  • 类型
  • └ tag_value
  • String
  • 停车位
  • store_statistics_info
  • StoreStatisticsInfo
  • 统计信息
  • 统计信息
  • └ avg_price
  • String
  • 123
  • 人均消费
  • └ recent_order_num
  • Number
  • 1111
  • 最近单数
  • └ service_rating
  • String
  • 4.5
  • 星级分

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscStoreDetailRequest req = new AlibabaAlscStoreDetailRequest();
AlibabaAlscStoreDetailRequest.OpenStoreModelQueryRequest obj1 = new AlibabaAlscStoreDetailRequest.OpenStoreModelQueryRequest();
obj1.setBizDomain("基础域");
obj1.setBizScene("场景");
obj1.setBizScope("业务域");
obj1.setRequestId("请求id");
AlibabaAlscStoreDetailRequest.StoreUniqueInfo obj2 = new AlibabaAlscStoreDetailRequest.StoreUniqueInfo();
obj2.setStoreUniqueId("门店id");
obj2.setStoreUniqueType("类型");
obj1.setStoreUniqueInfo(obj2);
req.setParamOpenStoreModelQueryRequest(obj1);
AlibabaAlscStoreDetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alsc_store_detail_response>
    <result>
        <result_code>001</result_code>
        <result_message>失败</result_message>
        <success>success</success>
        <value>
            <store>
                <biz_channel>渠道</biz_channel>
                <biz_outer_id>2020072300077000000099059901</biz_outer_id>
                <biz_principal_id>2088xxx</biz_principal_id>
                <biz_source>KOUBEI</biz_source>
                <brand>
                    <brand_id>1111</brand_id>
                    <brand_name>肯德基</brand_name>
                </brand>
                <category_list>
                    <category>
                        <category_id>111</category_id>
                        <name>asdd</name>
                        <parent_category_id>222</parent_category_id>
                        <root_category_id>333</root_category_id>
                    </category>
                </category_list>
                <cover>1</cover>
                <gmt_create>创建时间</gmt_create>
                <gmt_modified>修改时间</gmt_modified>
                <localization>
                    <address>地址</address>
                    <address_memo>地址备注</address_memo>
                    <business_area_id>区域id</business_area_id>
                    <latitude>123.123</latitude>
                    <longitude>88.123</longitude>
                    <region>
                        <city_id>123</city_id>
                        <city_name>上海</city_name>
                        <country_id>1</country_id>
                        <country_name>中国</country_name>
                        <district_id>123</district_id>
                        <district_name>普陀区</district_name>
                        <province_id>1</province_id>
                        <province_name>上海</province_name>
                    </region>
                </localization>
                <mobile_no_list>
                    <string>180xxx</string>
                </mobile_no_list>
                <name>肯德基</name>
                <status>状态</status>
                <store_business_info>
                    <business_status>OPEN</business_status>
                    <business_time>
                        <business_time_text>每周一到周五</business_time_text>
                        <normal_business_time_list>
                            <normal_business_time>
                                <business_hour>
                                    <cross_day>true</cross_day>
                                    <ranges>
                                        <string>范围</string>
                                    </ranges>
                                    <type>类型</type>
                                    <weeks>
                                        <number>星期列表</number>
                                    </weeks>
                                </business_hour>
                                <mode>模式</mode>
                                <months>
                                    <number>月份</number>
                                </months>
                            </normal_business_time>
                        </normal_business_time_list>
                        <special_business_time_list>
                            <special_business_time>
                                <business_hour>
                                    <cross_day>是否跨天</cross_day>
                                    <ranges>
                                        <string>范围</string>
                                    </ranges>
                                    <type>类型</type>
                                    <weeks>
                                        <number>星期</number>
                                    </weeks>
                                </business_hour>
                                <date_range>
                                    <end_day>21</end_day>
                                    <end_month>12</end_month>
                                    <end_year>2023</end_year>
                                    <start_day>12</start_day>
                                    <start_month>12</start_month>
                                    <start_year>2019</start_year>
                                </date_range>
                                <mode>模式</mode>
                            </special_business_time>
                        </special_business_time_list>
                    </business_time>
                </store_business_info>
                <store_id>123123</store_id>
                <store_type>common</store_type>
                <test>false</test>
                <valid_status>valid</valid_status>
            </store>
            <store_extends_info>
                <store_tags>
                    <alsc_store_tag_info>
                        <tag_desc>有停车位</tag_desc>
                        <tag_source>口碑</tag_source>
                        <tag_type>service</tag_type>
                        <tag_value>停车位</tag_value>
                    </alsc_store_tag_info>
                </store_tags>
            </store_extends_info>
            <store_statistics_info>
                <avg_price>123</avg_price>
                <recent_order_num>1111</recent_order_num>
                <service_rating>4.5</service_rating>
            </store_statistics_info>
        </value>
    </result>
</alibaba_alsc_store_detail_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

返回
顶部