Added API call to empty cart