Shopify Plus has a feature called Multipass -- https://shopify.dev/docs/admin-api/rest/reference/plus/multipass
Multipass login is for store owners who have a separate website and a Shopify store. It redirects users from the website to the Shopify store and seamlessly logs them in with the same email address they used to sign up for the original website. If no account with that email address exists yet, one is created. There is no need to synchronize any customer databases.
Consider the scenario that a user performs two multipass logins where the user's last name is passed as an optional field, but prior to the second login attempt, the user changes their last name. Does the second multipass login, which passes the new last name, result in an update to the Shopify customer record?