企业微信(WeCom)-连接微信 icon

企业微信(WeCom)-连接微信

企业微信连接微信功能 - 微信客服、客户联系、家校应用、政民沟通

Actions172

客户联系 → [联系我方式] 更新企业已配置的「联系我」方式

AI-generated

Summary

Updates an existing WeCom “Contact Us” configuration by ID, replacing only the fields whose update toggles are enabled. Use it to change its assigned members or departments, remarks, verification behavior, style, state, temporary-session settings, customer source marker, or closing message.

Inputs

  • 联系方式配置ID (config_id) (required) — ID of the existing contact configuration to update.
  • 更新成员列表 / 配置的成员列表 (updateUsers, user) — When enabled, replaces the member list with the supplied UserIDs. Separate up to 100 IDs with commas, vertical bars, or newlines; an empty list sends an empty array.
  • 更新部门列表 / 配置的部门列表 (updateParty, party) — When enabled, replaces the department list with positive department IDs separated by commas, vertical bars, or newlines. An empty list sends an empty array; department assignment applies only to multi-person configurations.
  • 更新备注 / 备注 (updateRemark, remark) — When enabled, replaces the remark (up to 30 characters); an empty value clears it.
  • 更新跳过验证 / 跳过验证 (updateSkipVerify, skip_verify) — When enabled, sets whether external customers can add without verification. The value field defaults to true.
  • 更新控件样式 / 样式 (updateStyle, style) — When enabled, sets the style (1, 2, or 3). This applies only to mini-program contact configurations; multi-person configurations support styles 1 or 2, subject to WeCom validation.
  • 更新 State 参数 / 自定义State参数 (updateState, state) — When enabled, replaces the channel State value (up to 30 characters); an empty value clears it.
  • 更新二维码有效期 / 二维码有效期(秒) (updateExpiresIn, expires_in) — When enabled, sets the temporary-session QR code validity from 1 to 1,209,600 seconds (up to 14 days).
  • 更新会话有效期 / 会话有效期(秒) (updateChatExpiresIn, chat_expires_in) — When enabled, sets the temporary-session duration from 1 to 1,209,600 seconds (up to 14 days).
  • 更新客户 UnionID / 客户UnionID (updateUnionid, unionid) — When enabled, sets the customer UnionID allowed for temporary sessions; an empty value removes the restriction.
  • 更新客户来源标记 / 标记客户来源 (updateMarkSource, mark_source) — When enabled, sets whether to mark the customer-add source as this app’s Contact Us configuration. Applies only to marketing acquisition apps updating configurations they created; the value defaults to true.
  • 更新结束语 / 结束语类型及内容 (updateConclusions, conclusionType and matching content fields) — When enabled, replaces the closing message on a still-valid temporary-session configuration. Choose text (up to 4000 UTF-8 bytes), image (media ID), link (title up to 128 bytes, optional cover URL and description up to 512 bytes, and URL), or mini-program (title up to 64 bytes, app ID, page path, and cover media ID). Only fields for the selected type are sent.

Output shape

A single item containing the WeCom API response for the update request.

Only enabled update fields are sent; disabled fields are left unchanged. WeCom validates whether fields apply to the existing configuration type and status.

Links

Discussion