获取区域活码所关联的门店活码信息
最后更新:2025/8/5企业可通过此接口获取区域活码所关联的门店活码信息
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/qrcode/areaQrcode/getShopQrCodeByAreaQrCode
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"area_qrcode_id": 1,
"store_id": 20,
"longitude": "123.123",
"latitude": "23.123"
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
area_qrcode_id | long | 是 | 区域活码id |
store_id | long | 否 | 用户所在的门店id |
longitude | string | 是 | 用户所在地理位置的经度,基于腾讯地图经纬度可通过腾讯地图接口将门店地址转化为经纬度:https://lbs.qq.com/service/webService/webServiceGuide/webServiceGeocoder |
latitude | string | 是 | 用户所在地理位置的纬度,基于腾讯地图经纬度可通过腾讯地图接口将门店地址转化为经纬度:https://lbs.qq.com/service/webService/webServiceGuide/webServiceGeocoder |
返回值:
获取区域活码所关联的门店活码信息
{
"code": 0,
"msg": "请求成功",
"data":{
"store_id": 1554305965535370498,
"qrcode_type": "123",
"qrcode_id": 1,
"qrcode_status": 1
}
}
返回说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 出错返回码,为0表示成功,非0表示调用失败 |
msg | string | 返回码描述 |
data | object | 对象 |
store_id | long | 门店id |
qrcode_type | string | 关联活码类型 , staff-员工活码, groupChat-群活码, oldGroup-识客群码 |
qrcode_id | long | 关联活码id |
qrcode_status | int | 关联活码状态 0:未关联, 1:正常, 2:异常 |