Link line items and shipments to orders upon order creation
Add missing backend code