Inserting abandoned checkouts over API?

r0jmax
Shopify Partner
1 0 0

Hello there,

My app replaces default Shopify's checkout process with own, therefore Shopify itself doesn't know if the checkout was abandoned or not.

Is it possible to insert abandoned checkouts over API as I dont see it in official documentation? Perhaps there is workaround I could use? 

The reason I wanna insert abandoned checkouts is because my users use abandoned carts recovery apps.

Thank you

Replies 4 (4)

Jason
Shopify Expert
11190 225 2282

No, you can not create abandoned checkouts via the API. If you want to have an abandoned checkout - don't skip the Shopify checkout.

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★

AT1
Shopify Expert
68 0 2

I think it's possible by using Checkout API - https://help.shopify.com/en/api/reference/sales_channels/checkout

SarahT2
Visitor
2 0 0

I replaced Shopify's checkout with my own too and have the same question. Were you able to insert abandoned checkouts? Would love to know if and how you did it!

rohanrajpal
Shopify Partner
38 0 13

Haven't tried it out yet, but I guess this is how I would approach it

1. You create a checkout via the checkOut create mutation
https://shopify.dev/api/storefront/2022-10/mutations/checkoutCreate

2. after a while shopify automatically marks it as abandoned

you need to be a sales channel app/need a sales channel token to try it out.

 

Founder | meetspur.com
Feel free to reach out to me at howdyrohan@gmail.com or @rohanrajpal98 on Twitter