Edge recreate shipments on api component

Same as #3244 for api component. This should be easy to reproduce using spree-marionette. Once order hits delivery step shipments are never rebuild when they should. Then the inventory units created don't reflect the line items on the order.

I've added a method to Order model to abstract it a little bit, ci says all green