For some emails receiving CUSTOMER_DISABLED error when using customerCreate (Storefront api)

For some emails receiving CUSTOMER_DISABLED error when using customerCreate (Storefront api)

vduc
Shopify Partner
2 0 0

Hello,

 

Recently, we recognized for our headless commerce shop with storefront api that for some emails when registering a user they received a customerUserErrors with code CUSTOMER_DISABLED. For some other it works as usual. Our shop uses the graphql version 2023-4. Anybody experience the same? We have check the admin page but could not find anything unusual.

 

Kind regards,

Duc

Replies 2 (2)

Stefan29
Shopify Partner
1 0 0

Based on our testing, we believe this happens when the email has already been used for making an order, but without registration. So when you try to register with that email you have an additional step of email verification and setting up your password, before you're allowed to log in.

vduc
Shopify Partner
2 0 0

Is there any documentation? Currently, when our users click on the link in the verification email they will be redirected to a page that we do not handle yet with the storefront api. Are there any docs?