WOOCOMMERCE UPDATE_STATUS
$order = new WC_Order( $order_id );
$order->update_status('awaiting-shipment', 'order_note');
HanSolo
$order = new WC_Order( $order_id );
$order->update_status('awaiting-shipment', 'order_note');