Shopify Add or Update Customer
Status: Closed · Asked by wibbler on · 0 views
The Shopify integration can Add a customer or Update a customer.
Add a customer: what if the customer already exists? Is there a way for Pabbly to check this, and switch to Update customer?
Update a customer: what if the customer doesn't already exist? Can Pabbly recognise this and Add the customer instead?
Competitors to Pabbly have solved this by merging the two functions into "Add or Update Customer".
Hey @wibbler
The Shopify integration can Add a customer or Update a customer.
We looked into your requirement and while checking Shopify's API documentation, they haven't mentioned any action event which can retrieve the customer or can list the customers from Shopify's account, so updating and creating might not be possible according to the customer's availability.
If they can mention the "Get Customer" endpoint in their API documentation, we can implement the same at our end.
Thanks for the reply!
So on "Add a customer", will it just create a duplicate customer if it already exists?
And with "Update a customer", will it just fail if it cannot find the customer existing?
Hey @wibbler
We have added a new action event "Shopify: Find Customer by Email" which will help you to retrieve the existence of the customer.
And on the basis of their presence, you can create the condition in both of the Route and it will create the customer or update one -
Referred Workflow - https://connect.pabbly.com/workflow/share/CEACMFIZBmNRG1IGVDUFLVxJUkEDSQVTVTJRQw##

That's really great, many thanks!