refine CustomerEndpoint