To mark an order as shipped you can create a shipment document for it. How is «Submit Shipment» implemented?