Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
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
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
Same here.. any update on this? Ideally a checkout/abandoned webhook should be available.
Anyone come up with a clever solution around this? This is a huge piece of e-commerce to not be readily available.
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
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.
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.
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.
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.
You're talking about Abandoned Checkouts, right?
In API parlance, that is indeed what you get. Abandoned Checkouts. All the stuff in the cart they never bought.
Got it. In a cart/create webhook topic, there's a way to catch the customer data (email, phone)?