Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change a user's email_address #7313

Open
BorisKamp opened this issue May 13, 2024 · 0 comments
Open

Change a user's email_address #7313

BorisKamp opened this issue May 13, 2024 · 0 comments

Comments

@BorisKamp
Copy link

BorisKamp commented May 13, 2024

Hi!

I know this is intended, but why should we not allow a user to update their email using POST {{medusa-host}}/admin/customers?

It is a common use-case that customer e-mail addressed need to be changed. For example, I created a B2B management tool with medusa at it's core and I can only update the customer email address directly in postgress a.t.m. after the business asks me to.

In the mean time Im thinking of creating a custom endpoint to update a customer's email address using a TypeORM repo but I would like to know if this has any downsides im not seeing....

Can someone from the team elaborate on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant