Changed behavior of customer api.