Hello ,
I want to remove the old datas from my magento2 system , need to remove data like orders and invoice with the increment id , it means new order or invoice data should be the first one . Please let me know if you have found any clue to solve this.
hi,
If you are looking for remove the sample data. then you can use following command.
magento sampledata:reset
If you want to remove all orders and sale data from your store. I would like to suggest you this extension. It will help you. Link
Thanks
--
If my answer is useful, please Accept as Solution & give Kudos
bin/magento sampledata:remove
you can remove sample data by running this command.