Can I delete an Abandoned Checkout through the Shopify API?

Highlighted
New Member
2 0 0

Hi!

From the docs, it seems it's impossible as there is no DELETE endpoint for Abandoned Checkout. I'm wondering if there is a 'disguised' way of doing it? For example, could there be a hidden `abandoned_checkout_id` parameter that can be sent upon creating an order with the POST on `/admin/orders`?

My usecase is pretty specific: I'm having abandoned checkouts users complete their checkout through an outside payment gateway. So I'm going to create the Orders myself through the Admin API. I am not using the Checkout API because ultimately I cannot have customers go through the native payment gateways, as I want to subscribe them to recurring plans.

Thanks!

Adrien

0 Likes
Shopify Partner
919 17 159

Hi Adrien,

Nope, no hidden way either. You can't delete them via Admin UI either. In Admin UI you can archive an abandoned checkout, effectively closing it. That endpoint isn't public though.

Best wishes!

I turn coffee in to code - since 1998
0 Likes
New Member
2 0 0

Thanks for the quick and precise answer Karl! That's too bad, but I'll try and find another way.

All the best

0 Likes