Re: Is there any webhook available to get "Abandoned carts"?

Is there any webhook available to get "Abandoned carts"?

Broly
Shopify Partner
2 0 2

Hi All,

A newbie question here on abandoned carts API/webhook.

I understand that a checkout is considered abandoned when a customer has entered billing and shipping info, but didn't complete the purchase.

I am developing a similar app that will send emails to customers for their abandoned checkouts and struggling to understand how this whole flow works. I am sure there is a way to do this, as there are plenty of apps available to send abandoned cart emails to customers.

1) Are there any webhooks available that get fired when a cart is considered abandoned?

2) Or do I need to manually query the store for carts that are marked abandoned by Shopify? Is there any API for that?

3) Is there a mechanism to figure out if the cart status is still unpaid before triggering the abandoned cart email, just to avoid a scenario where the customer already paid for it?

Any help here is much appreciated.

Thanks.

Broly

Replies 11 (11)

egaldamez
Visitor
3 0 0

I also have this question do you had any progress with it?


@Broly wrote:

Hi All,

A newbie question here on abandoned carts API/webhook.

I understand that a checkout is considered abandoned when a customer has entered billing and shipping info, but didn't complete the purchase.

I am developing a similar app that will send emails to customers for their abandoned checkouts and struggling to understand how this whole flow works. I am sure there is a way to do this, as there are plenty of apps available to send abandoned cart emails to customers.

1) Are there any webhooks available that get fired when a cart is considered abandoned?

2) Or do I need to manually query the store for carts that are marked abandoned by Shopify? Is there any API for that?

3) Is there a mechanism to figure out if the cart status is still unpaid before triggering the abandoned cart email, just to avoid a scenario where the customer already paid for it?

Any help here is much appreciated.

Thanks.

Broly


 

zanzaf
Shopify Partner
4 0 2

Same here.. any update on this? Ideally a checkout/abandoned webhook should be available.

intelligence
Visitor
1 0 0

Anyone come up with a clever solution around this? This is a huge piece of e-commerce to not be readily available. 

HunkyBill
Shopify Partner
4853 60 562

No idea why the bother around this topic, but you have an endpoint to use. Make up some logic. This needs no webhook.

https://shopify.dev/docs/admin-api/rest/reference/orders/abandoned-checkouts

Custom Shopify Apps built just for you! [email protected] http://www.resistorsoftware.com
TJ_Biddle
Explorer
39 1 17

Just because your scenario doesn't need a webhook, doesn't mean other's don't as well.

I'm using a 3rd party tool (Integromat) and need to use webhooks so I can have instant scenarios triggered, rather than their polling system.

HunkyBill
Shopify Partner
4853 60 562

Luckily for you, you can create a support routine for that using the Shopify API. Absolutely nothing standing in your way, except your commitment to solving the problem with a few straight-forward resources applied. Your unique needs, are perfectly supported. That is the whole entire point of the platform and API, supporting oddball use-cases wherever possible.

Custom Shopify Apps built just for you! [email protected] http://www.resistorsoftware.com
GustavoTofolo
Tourist
10 0 2

In my case, an endpoint isn't enough, as I need to integrate it with an external service. Doing GET requests repeatedly just to check if there's a new abandoned checkout isn't a good practice.

HunkyBill
Shopify Partner
4853 60 562

You have to look at this logically. What is one of the things that will happen millions of times and be of low consequence to anything? Abandoned Carts! So if you stop to wonder why Shopify does not offer a webhook for them, maybe that is the reason. They offer an API endpoint, and they could care less about services that are unable or unwilling to use API calls to inspect for them.

So if it is truly important to you, within thirty minutes of mostly copy&paste work you can install your own App in your store that indeed connects abandoned carts to your external service, and you're done. Easy. No fuss.

Custom Shopify Apps built just for you! [email protected] http://www.resistorsoftware.com
GustavoTofolo
Tourist
10 0 2

You're talking about Abandoned Checkouts, right? 

HunkyBill
Shopify Partner
4853 60 562

In API parlance, that is indeed what you get. Abandoned Checkouts. All the stuff in the cart they never bought.

Custom Shopify Apps built just for you! [email protected] http://www.resistorsoftware.com
GustavoTofolo
Tourist
10 0 2

Got it. In a cart/create webhook topic, there's a way to catch the customer data (email, phone)?