Open ID and Union ID are two types of identifiers that WeChat business accounts provide, including WeChat Official Accounts, WeChat Mini Programs, and WeCom, to support identifying WeChat users. In simple terms, Open ID is used to identify a WeChat user under a specific WeChat business account, while Union ID is used to identify a WeChat user across all WeChat business accounts owned by the same company. In other words, the same WeChat user associated with multiple WeChat business accounts of a company will have multiple Open IDs but only one Union ID.
Open ID is enabled by default; however, Union ID must be enabled by adding all WeChat business accounts to a WeChat Open Platform account, which is a developer account allowing businesses and developers to integrate their apps and services with the WeChat ecosystem.
Both Charket WeChat and Charket WeCom apps support using Open ID and Union ID to associate WeChat users with Salesforce leads and contacts without creating duplicates. Charket WeCom integrates a WeCom account with Salesforce CRM using two app modes:
- The Self-developed App mode applies when a customer's ICP-certified domain is used.
- The Third-party App mode applies when a Charket-provisioned ICP-certified domain is used. Union ID is not available under this mode; instead, Charket WeChat and Charket WeCom use WeChat APIs to identify WeChat users.
The table below shows the fields used to store Open ID and Union ID under different scenarios.