How can I add unpaid draft orders to the abandoned checkout list?

i have custom apps to do checkout function, and insert api to create draft order.

and to go to the checkout page I use the invoice_url. I want when it leads to the checkout page and the customer doesn’t make a payment. it can be added to the abondend checkout list. does that make sense? because abandoned checkout doesn’t show anything

@waisal ,

Draft Order API is used to place custom orders since the order is already placed. I don’t think this could be possible.

The best option will be to mark an order paid only when payment is successful.