refactor cart web service methods to handle ids