Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

guest accounts headless storefront - register afterwards not possible

guest accounts headless storefront - register afterwards not possible

Jujuba
Shopify Partner
23 0 6

Hello, 

 

I'm developing a custom headless storefront. 

As my merchant can't afford Shopify Plus and wants to handle login/register I'm syncing customer data with an external database. 

The problem is the following: 

If a customer is purchasing a product as a guest, Shopify will create an account for that customer automatically.

If the same customer wants to register afterwards (using API) Shopify gives an error 'email already taken'.

Is that the expected behavior? 

Is there a solution for this? 

 

BR

Replies 0 (0)