获取门店列表
最后更新:2024/07/10企业可通过此接口 获取企业所创建的门店
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/shop/info/list
Query参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"shop_name": "武汉一店",
"current_index": 1,
"page_size": 100
}
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| shop_name | string | 否 | 门店名称查询条件,支持模糊匹配 |
| current_index | int | 否 | 页码。默认值为1 |
| page_size | int | 否 | 列表返回长度。默认值为20,最大值为100 |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"total": 115,
"records": [
{
"id": "1448464871623897089",
"name": "哈哈",
"store_number": "fake_data",
"facade": "https://p.qlogo.cn/bizmail/Z0kbdlu6evUwqS6hhRanicjaz96Vo1HOGjUGmicxwnJibia9j0oJxc2pOQ/0",
"province_name": null,
"city_name": null,
"district_name": null,
"area_code": "420111",
"address": "湖北省武汉市洪山区文治街102-5号",
"telphone": "023915698745",
"longitude": "114.34239",
"latitude": "30.49947",
"remark": "",
"store_user_ids": [
"abc",
"123"
]
}
]
}
}
参数说明:
| 参数 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 对返回码的文本描述内容 |
| data | Page | 分页对象 |
| total | int | 总条数 |
| records | Shop[] | 数据列表 |
| id | string | 门店id |
| name | string | 门店名称 |
| store_number | string | 门店编号 |
| facade | string | 门店logo图片url地址 |
| province_name | string | 省份 |
| city_name | string | 城市 |
| district_name | string | 地区 |
| area_code | string | 门店区域编码 |
| address | string | 门店详细地址 |
| telphone | string | 门店联系电话 |
| longitude | string | 门店位置经度 |
| latitude | string | 门店位置纬度 |
| remark | string | 备注 |
| store_user_ids | array | 门店员工id集合 |