There was a marginal improvement in consumer confidence in March, amid a “fragile” outlook for the year ahead, figures show.