"Abandoned Checkout" webhook

Courtenay_Farqu
Visitor
2 0 0

hi there,

Im aware you have an API which I could use to get abandoned carts, and I know you have webhooks that would get me

1) Checkout creates, deletes, updates

However is one able to officially get a webhook POST when shopify considers an order to be abandoned?

Replies 2 (2)
Josh
Shopify Staff
Shopify Staff
1134 84 233

Hey Courtenay, 

There's currently no webhook specifically for when a checkout becomes abandoned, an abandoned checkout is just a checkout like you'd receive in a checkouts/create webhook that never ends up becoming an order. 

 

Because of that, you could possibly work something out by subscribing to both checkouts/create and order/create webhooks combined. You'd have to find a way to store the info from each webhook and compare the two though - and if an orders/create webhook is received that containts a checkout_id of a checkout you've gotten a checkouts/create webhook from, that checkout could be considered no longer abandoned.

Josh | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

raj87
New Member
4 0 0

Hi Josh,

 

how to get abandon cart data from webhook.