开发指南 官网
API 2.0 > 1.1 门店 > 1.1.2 获取门店详情

1.1.2 获取门店详情

开启令牌和权限后可调用。签名方式请查看开发指南
场景描述:根据到商门店编码查询门店基本信息

请求地址

请求方式 版本信息 请求地址
POST V2 http://openapi.zvcms.com/api/v2

公共参数

参数 参数类型 是否必填 默认值 描述
OpenId string 密钥Id
GrantCode string 授权code
Token string 签名,参考《数字签名sign》
Timestamp string 当前时间戳
Nonce string 随机正整数
Action string multi-store.multi-store-detail 接口方法
Params array 业务参数

请求参数

参数 参数类型 是否必填 默认值 描述
multi_mark string 门店编码

响应参数

参数 参数类型 描述
status bool 请求成功或者失败
code int 成功/错误编码
message string 成功/错误描述
data array
 ├name string 门店名称
 ├created_at string 创建时间
 ├updated_at string 修改时间
 ├province_id int 省份ID
 ├city_id int 城市ID
 ├linkman string 联系人
 ├id_card string 身份证号码
 ├id Int 门店ID
 ├store_id Int 店铺ID
 ├sn string 门店编码
 ├phone string 手机号码
 ├phone_body string 固定电话 - 前缀
 ├is_eat string 固定电话 - 正文
 ├is_super_store Int 是否是总店,0:否,1:是
 ├is_express Int 是否支持快递配送。1:支持,0:不支持
 ├is_self_fetch Int 是否支持到店自提。1:支持,0:不支持
 ├is_city_express Int 是否支持同城配送。1:支持,0:不支持
 ├address string 门店详细地址,不包含省市区信息
 ├district_id Int 区ID
 ├lng string 经度
 ├lat string 纬度
 ├desc string 商家推荐
 ├is_work Int 营业状态,1:营业中,0:休息
 ├org_id Int 机构ID
 ├province_name array
  ├0 array
   ├id Int 省ID
   ├name string 省名称
 ├city_name array
  ├0 array
   ├id Int 市ID
   ├name string 市名称
 ├district_name array
  ├0 array
   ├id Int 区ID
   ├name string 区名称
 ├work_status string 营业状态描述
 ├multistoreimgs array
  ├0 array
   ├src string 门店图片
   ├full_src string 门店图片全路径
 ├share array
  ├0 array
   ├share_content string 分享描述
   ├share_img string 分享图片
 ├businerss_hours_setting array times:时间区间:开始时间 ,结束时间 ["00:00","23:00"] weeks:1 ~ 7 分别代表 星期一到星期天;不是区间!!["1","3"] ,示例: "businerss_hours_setting": { "weekly_business_hours": [ { "times": [ "00:00", "23:00" ], "weeks": [ "1", "2" ] } ] }

请求示例

{
    "OpenId": "6dc05b4ac175cf316d226252b05cf685",
    "GrantCode": "782c281f62",
    "Timestamp": "1547186244",
    "Nonce": "658965",
    "Token": "0%2B%2B3c6hthjwAml4ABAXOYF4Q6UY%3D",
    "Action": "multi-store.multi-store-detail",
    "Params": {
        "multi_mark": ""
    }
} 

响应示例

{
    "status": "true",
    "code": "0",
    "message": "说明",
    "data": {
        "name": "",
        "created_at": "",
        "updated_at": "",
        "province_id": "",
        "city_id": "",
        "linkman": "",
        "id_card": "",
        "id": "",
        "store_id": "",
        "sn": "",
        "phone": "",
        "phone_body": "",
        "is_eat": "",
        "is_super_store": "",
        "is_express": "",
        "is_self_fetch": "",
        "is_city_express": "",
        "address": "",
        "district_id": "",
        "lng": "",
        "lat": "",
        "desc": "",
        "is_work": "",
        "org_id": "",
        "province_name": [
            {
                "id": "",
                "name": ""
            }
        ],
        "city_name": [
            {
                "id": "",
                "name": ""
            }
        ],
        "district_name": [
            {
                "id": "",
                "name": ""
            }
        ],
        "work_status": "",
        "multistoreimgs": [
            {
                "src": "",
                "full_src": ""
            }
        ],
        "share": [
            {
                "share_content": "",
                "share_img": ""
            }
        ],
        "businerss_hours_setting": ""
    }
}

异常示例

{
    "status": true,
    "code": "异常编码,根据不同的业务返回编码",
    "message": "异常说明:查询的信息不存在"
}

错误码

{
    "status": false,
    "code": "系统错误编码:详见全局返回编码",
    "message": "系统错误说明"
}

请求地址

请求方式 版本信息 请求地址
POST V2 http://openapi.zvcms.com/api/v2

公共参数

参数 参数类型 是否必填 默认值 描述
OpenId string 密钥Id
GrantCode string 授权code
Token string 签名,参考《数字签名sign》
Timestamp string 当前时间戳
Nonce string 随机正整数
Action string multi-store.multi-store-detail 接口方法
Params array 业务参数

请求参数

参数 参数类型 是否必填 默认值 描述
multi_mark string 门店编码

响应参数

参数 参数类型 描述
status bool 请求成功或者失败
code int 成功/错误编码
message string 成功/错误描述
data array
 ├name string 门店名称
 ├photo array
  ├0 string 门店照片url
 ├street string 门店地址
 ├longitude string 门店经度
 ├latitude string 门店纬度
 ├per_price string 人均消费
 ├notice string 门店公告
 ├mobile string 门店联系电话
 ├tel string 座机电话
 ├status int 1营业2休息
 ├is_eat int 堂食开启状态1开启0关闭
 ├is_takeout int 外卖开启状态1开启0关闭
 ├is_appoint int 预约开启状态1开启0关闭
 ├balance float 余额
 ├is_host int 是否为总门店1是0否
 ├created_at string 创建时间
 ├updated_at string 修改时间
 ├province_id int 省份ID
 ├city_id int 城市ID
 ├area_id int 区域ID
 ├linkman string 联系人
 ├id_card string 身份证号码
 ├multi_url string 门店小程序码地址
 ├kou_bei_status int 门店口碑开启状态,0关闭,1开启
 ├kou_bei_is_bind int 口碑是否绑定,1未绑定,2绑定
 ├is_auto int 是否同步0未同步,1已同步
 ├is_koubei_create int 是否是口碑自创门店,0否1是
 ├multi_mark string 门店编码
 ├alipay_store_id string 支付宝对应的外部门店编号(不通过isv创建可能不存在)
 ├is_koubei_auto int 口碑订单是否自动接单,0否,1自动接单
 ├images array
  ├0 string 店铺图片url
 ├lable array
  ├0 string 门店标签
 ├service array
  ├0 string 门店服务
 ├saletimes array
  ├0 array
   ├workweek array
    ├0 Int 周几
   ├worktime array
    ├0 array
     ├time array
      ├0 string 工作时间段
   ├created_at string 创建时间
   ├updated_at string 修改时间
   ├category Int 分组ID,'1:开业时间,2:外卖时间,3:堂食时间'

请求示例

{
    "OpenId": "6dc05b4ac175cf316d226252b05cf685",
    "GrantCode": "782c281f62",
    "Timestamp": "1547186244",
    "Nonce": "658965",
    "Token": "0%2B%2B3c6hthjwAml4ABAXOYF4Q6UY%3D",
    "Action": "multi-store.multi-store-detail",
    "Params": {
        "multi_mark": ""
    }
} 

响应示例

{
    "status": "true",
    "code": "0",
    "message": "说明",
    "data": {
        "name": "",
        "photo": [
            ""
        ],
        "street": "",
        "longitude": "",
        "latitude": "",
        "per_price": "",
        "notice": "",
        "mobile": "",
        "tel": "",
        "status": "",
        "is_eat": "",
        "is_takeout": "",
        "is_appoint": "",
        "balance": "",
        "is_host": "",
        "created_at": "",
        "updated_at": "",
        "province_id": "",
        "city_id": "",
        "area_id": "",
        "linkman": "",
        "id_card": "",
        "multi_url": "",
        "kou_bei_status": "",
        "kou_bei_is_bind": "",
        "is_auto": "",
        "is_koubei_create": "",
        "multi_mark": "",
        "alipay_store_id": "",
        "is_koubei_auto": "",
        "images": [
            ""
        ],
        "lable": [
            ""
        ],
        "service": [
            ""
        ],
        "saletimes": [
            {
                "workweek": [
                    ""
                ],
                "worktime": [
                    {
                        "time": [
                            ""
                        ]
                    }
                ],
                "created_at": "",
                "updated_at": "",
                "category": ""
            }
        ]
    }
}

异常示例

{
    "status": true,
    "code": "异常编码,根据不同的业务返回编码",
    "message": "异常说明:查询的信息不存在"
}

错误码

{
    "status": false,
    "code": "系统错误编码:详见全局返回编码",
    "message": "系统错误说明"
}

免费升级

营销功能、插件持续每月更新开发升级

免费专业培训

每月建站、微信营销、电商等互联网增值培训

7×24小时服务支持

400电话、QQ、微信、在线等多渠道售后支持

 

安徽智迈科技股份有限公司 版权所有 Copyright 2009-2018 皖公网安备 34019202000074号 增值电信业务经营许可证:皖B2-20170075