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.
Hi @fedebalderas! I haven't yet tackled that issue but I'm going to have to at some point for my app. It is too bad indeed, I don't really understand if there is a reason not to have this endpoint in the API.
I have the feeling that since it's doable from the GUI backoffice with a few clicks, it must be scriptable somehow. I'll try and inspect the outgoing network requests and replicate them, I don't know how hard it'll be yet but I believe it's got to be doable! I'll let you know when I get to it.
|2 hours ago|
|6 hours ago|
|7 hours ago|