Hello there
,
I want my customers to be able to update the <imageUrl, company, emailAddress, password> fields on their Customer object using a form in their profile page. I searched for a couple hours in the Storefront API and the Customer Account API references but I didn’t find anything usable.
I’m using the Hydrogen + Oxygen stack that you offer.
company and emailAddress
- I found out that using the Admin API, I can easly change the company and emailAddress fields on my Customers. Is it a good idea to implement Admin API calls in my application or I should use a third party hosting provider to act as a proxy [My store <—> Proxy server <—> Admin API] ?
imageUrl
- For the imageUrl (profile picture) I didn’t find anything usable even in the Admin API. Why you have that field on Customer if we can’t update it?
password
- What would be the best way to update the customer’s password in my case? Just wanna make sure I can actually offer the security level that my customers are asking for.
