dyShopId 已存在,将直接返回原有opPoiId,不会重复创建;否则自动生成新的opPoiIdmtAccountId的授权| 名称 | 描述 |
|---|---|
| HTTP URL | http://wspacebot.yunfeiwork.com/wspace-openapi/partner/app/bind/shop?access_token=ACCESS_TOKEN |
| HTTP Method | POST |
| 参数名 | 参数值 | 必填 |
|---|---|---|
| content-type | application/json | 是 |
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| name | string | 是 | 门店名称 |
| mtShopId | string | 是 | 美团门店ID,在美团经营宝PC端或APP端查看 点我查看文档指南 |
| dpShopId | string | 是 | 点评门店ID,在美团经营宝PC端或APP端查看,若没有则和美团门店ID保持一致,此字段是为了兼容早期开店的商家在经营宝里会存在两个不一样的门店ID 点我查看文档指南 |
| mtAccountId | string | 是 | 管理员账号 点我查看文档指南 |
| mtAccountName | string | 是 | 商家公司名称 |
| address | string | 是 | 门店地址 |
| cityName | string | 是 | 城市名 |
| platform | string | 是 | 团购平台:meituan=美团 |
| businessType | string | 是 | 业务类型:DDZH=到店综合、DDCY=到店餐饮 |
{
"name": "xxx自习室",
"mtShopId": "xxxxx",
"mtAccountId": "xxxxx",
"mtAccountName": "上海云飞网络科技工作室",
"address": "xxxx",
"cityName": "xxxx",
"platform": "meituan",
"businessType": "DDZH"
}| 参数名 | 类型 | 说明 |
|---|---|---|
| opPoiId | string | 云飞API侧的门店ID 是唯一的且固定不变 ,如果你使用来客核销小程序,可以在小程序内查看门店ID |
| name | string | 门店名称 |
| address | string | 地址 |
| cityName | string | 城市 |
| expiresIn | long | 门店授权有效期,门店未完成授权此字段值为空 单位:秒;具体用途参考:已授权门店查询 接口里的说明 |
| expiresTime | datetime | 门店授权有效期。同expiresIn字段,门店未完成授权此字段值为空 ;格式:yyyy-MM-dd HH:mm:ss;具体用途参考:已授权门店查询 接口里的说明 |
{
"code": 200,
"msg": "验证成功",
"data": {
"opPoiId": "example",
"name": "example",
"address": "example",
"cityName": "example",
"expiresIn": 2590896,
"expiresTime": "2025-04-16 12:32:43"
}
}