Rework EDD_API to use new customer API. #2256