Checkout ui extension - change shipping cost

Good day,

I develop a checkout ui extension app in react. I need to recalculate the shipping cost based on multiple options selected by customer. So, I need to force the custom calculate shipping cost to the cart, before payment.

How can I modify the shipping cost via an checkout ui extension app, in React ?
I cannot find any api on documentation to do a so simple thing.

The only way to do so for the moment is to create a carrier service and refresh this carrier service by modify a field on shipping address (company), but it seems to be a not very clean way :confused:

Thank you

You could create a “additional shipping fee” product and and this to the cart via the cart transform api