I am trying to publish an app for Pipedrive marketplace, and read the app approval docs - https://pipedrive.readme.io/docs/marketplace-app-approval-process#section-after-you-submit-what-to-expect. Needed clarification on the point “Your app doesn’t use email as a unique identifier for creating accounts, it’s better to use the combination of user_id and company_id (which you can get from the /users/me response) as the guaranteed unique identifier.” - what is implied here, more context and explanation would be of great help.
The idea is that Pipedrive’s user email should not be used as a unique ID in your app’s database, as one user can be in multiple companies.
In order to distinguish companies from the same Pipedrive user, the combination of
company_idis the guaranteed unique identifier.
More details here https://pipedrive.readme.io/docs/marketplace-getting-user-data.
I hope it clarified things a bit.