Hi, We are integrating shopify to our salesforce, in order for us to map our customers profile , we need to create a unique customer ID number per customers profile. So everytime they updated the following information like change address, contact number or email it will be updated as well in our salesforce cloud. Please let me know what can be the solutions, if we can create a customer ID number per registration in the shopify.
One way to achieve this is by creating a metafield in the customer object in Shopify and storing the unique ID in that field.
You can create a unique ID using a variety of methods, such as a combination of the customer’s name and a random string or using a sequential number. Once you have generated the unique ID, you can save it as a metafield in the customer object.
To add a metafield to a customer, you can use the Shopify API or a third-party app like Metafields Editor. Once the metafield is added to the customer object, you can use it to map the customer’s profile in Salesforce.
Additionally, you can use webhooks to automatically update Salesforce whenever a customer’s profile is updated in Shopify. Whenever a customer updates their profile, Shopify can send a notification to Salesforce with the updated information, and Salesforce can then update the customer record accordingly.