I wish to reorder programmatically I'm about to start it but not sure from where do I start.
I'm adding products to cart programmatically rest will done by Magento from Cart to Checkout.
So while adding product to cart how can I mark that it's reorder from particular order ID like 2.
Any suggestion? I've checked reoder controller
But not getting idea to mark order as reorder.