Shopify Add or Update Customer

wibbler

Active member
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".
 
Last edited:
P

Pabblymember11

Guest
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.
 

wibbler

Active member
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?
 
P

Pabblymember11

Guest
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##

2022-03-25_13h08_39.png
 
Top