magento2 – Magento 2 – Change order shipping method

In magento 2, I try to change shipping method for orders programmatically.

I did this :


shipping_method attribute is changing as expected, but I also need to recalculate order shipping prices according to the new method.

Do you know how to do it ?