Best Practices for Implementing User Profiles in API Systems
We are on the original api, and do not have users implemented. Within our app, users have the ability to have multiple profiles, including single solo and partner profiles, but all unique users are tied to an account with a unique account id per valid phone number used in registration. What would be the best practice for properly implementing users including setting the distinct id, managing profile identity for users (maybe tying distinct id to account id and passing in an active profile id as a user property?), when we should be identifying users and resetting them (log in, sign up, log out, etc.), and setting user/profile properties when profile information is updated, etc?
