on 03-03-2023 3:58 PM
Hi,
we have a requirement to update the email of the user from external system which is salesforce. But to update the email or adding login emails we need UID as a parameter in the accounts.setaccountinfo REST API. but how the external system will get this UID of the user in order to add the email.
Hey Maheswari, though as Pedro highlighted, making sure that the downstream application (in this case Salesforce) has the Customer Data Cloud UID is the best practice, I just thought I'd highlight a couple more options:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maheswari,
Apart from Romain's options, another straightforward way is like this:
Before sending accounts.setaccountinfo call, the user could login on salesforce through SAP CDC, that means you can first ask the users to login on salesforce app by sending a CDC account.login call, which then gives you the CDC UID in the response payload. Now that you have the UID, you can call accounts.setaccountinfo to update the users account data in the CDC.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.