• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Shopify Add or Update Customer

wibbler

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

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