Here I am going to show you how to get Magenot available shipping methods by order id.I am writing this article because I was facing problem for doing same type of requirements.The requirement is I have order object where I can get order Id easily and I am not in checkout page or quote section .I Want to fetch all available shipping method for an order in order view page.SO for that I have only order object and all sorts of order items.But I don’t have quote items.But How can I fetch that quote logic in order info page of admin.So That admin can change shipping method if he want to change shipping method of an existing order.For all requirements a custom module be required but I can just show you how you can only fetch Magento available shipping methods by order id.Then all other logic is yours.Like to show block in order info page and to place a new button called change shipping method etc.But I am just explains how you can do some of parts of my that custom module.
So simply you can get order object in order info page by
or if you have order object then its better to get order Id.In my case I just fetch the order object by $this->getOrder().
Now Our logic is how get all rate request.
You can simply call to the above function by