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

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

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

Actions172

客户联系 → [客户标签管理] 编辑企业客户标签

AI-generated

Summary

Updates the name and order of a WeCom corporate tag or tag group.

Inputs

  • id (required) — The ID of the tag or tag group to edit.
  • updateName — When true, updates the tag or tag group name.
  • name — The new name for the tag or tag group. Visible only when updateName is enabled. Max 30 characters.
  • updateOrder — When true, updates the tag or tag group order value.
  • order — The new order value for the tag or tag group. Visible only when updateOrder is enabled. Larger values sort earlier. Min 0, Max 4294967295.
  • agentid — The AgentID for an old third-party multi-app suite. 0 indicates not sending this field.

Output shape

no body — success or failure only

Returns an empty JSON object on success; errors are thrown.

Examples

Example 1: Rename a specific tag group.

Set resource to 'externalContact', operation to 'editCorpTag'. Set id to the group ID, updateName to true, and name to the new group name.

Example 2: Reorder tags without changing names.

Set resource to 'externalContact', operation to 'editCorpTag'. Set id to the tag ID, updateOrder to true, and order to a higher number to place it earlier in the list.

Links

Discussion