I hate how the customer accounts api is just so bad at doing it’s job, accessing and changing information about the customer that I have to do half of it with the admin API.
Want to get the total number of orders from an user? Not possible - use the admin API.
Want to change the E-Mail or Phone number? - No? The only right answer
You can subscribe and unsubscribe from E-Mail marketing, wanna do it for sms Marketing? - use the admin API
Not to mention on the authentication you get a value returned “expires_in” which tells you how long the token is valid in seconds from the time of creation, so you have to separately track when you created the token and calculate based on your own tracked time if the token is still valid, instead of returning a timestamp after which the token is invalid.
I’m trying to make a Customer Accounts Portal for my Headless Shop and THE tool made for exactly that occasion, eg the customer accounts api does not work and I have to fall back to the generic solution, which shopify advise against (and you would need to create an extra dev-app)
I’m sorry, if this sounded like I’m searching for solution / still have an issue or if I made it seem as if I’m searching for a solution, I did not search for an solution to these Problems, this was 100% just a rant and criticism on shopify api design. Sorry.