企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 个性称呼模块 ## **Web端交互** > ***** ![(images/screenshot_1567145572362.png)](https://img.kancloud.cn/f3/91/f391fb5ad684cc2d5d079494800c2fc4_1091x791.png) ## **API相关文档** > ***** 接口描述 | **新增客户信息** ---|--- URL | /wechat_api/customer/addCustomer 请求方式 | post 请求参数 | { customerName:%E9%BB%84%E6%97%8F nickName:asdasd customerPhone: remarks: xfield1: xfield2: wechatContactId:16986 tags: isStar: } 返回值 | ![](https://img.kancloud.cn/ba/4c/ba4cc38d4e880eeb8988df6283bc9147_393x331.png) | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | customerName| string | Y |客户姓名 | 请求参数 | customerPhone| string | Y | 联系方式 | 请求参数 | remarks| string | Y |备注 | 请求参数 | wechatContactId| Interger| Y |绑定的联系人 | 请求参数 | tags| string | Y | 客户标签 | 请求参数 |nickName| string | Y |设置备注的昵称 | 请求参数 | xfield1| string | Y |扩展字段1 | 请求参数 | xfield1| string | Y | 扩展字段2 > ***** 接口描述 | **批量添加客户信息** ---|--- URL | /wechat_api/customer/batchAddCustomer 请求方式 | post 请求参数 | { contactIds: 300671,354676,187317,359086 tags: [{"id":"","name":"sadada"}] isStar: } 返回值 | {"msg":"保存成功!","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | isStar| string | Y |是否添加星标好友 | 请求参数 | contactIds| string | Y | 联系人ID | 请求参数 | tags| string | Y |标签 > ***** 接口描述 | **批量添加客户个性化称呼** ---|--- URL | /wechat_api/customer/batchSaveNickName 请求方式 | post 请求参数 | nickNames: [ { "wechatContactId":355616, "custName":"坤同", "nickName":"111" }, { "wechatContactId":354718,"custName":"联络易-邓汀明", "nickName":"2222" }, { "wechatContactId":354722, "custName":"联络易人事小仙女", "nickName":"333" }, { "wechatContactId":354721, "custName":"联络易运维马琪", "nickName":"4444" }] 返回值 | {"msg":"保存成功!","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | nickName| string | Y |昵称