How do I create new customers without creating an actual password-protected account for the customer

How do I create new customers without creating an actual password-protected account for the customer

eldie
Shopify Partner
4 0 21

I'm trying to create a custom hydrogen storefront where customers need to log in before they can see the store and purchase products. The storefront API has a mutation called 'customerCreate' that takes an input of type 'CustomerCreateInput', the schema of which requires the email and password fields. This mutation creates a new customer with an active account (because it requires a password). This is not what I want.

 

What I want is to be able to create a new customer record using their email only (without a password) and other basic fields like name, address, and phone number. Then I can manually "approve" these new customers by manually choosing to send them an invite link from the customer dashboard screen. The ones I do not "approve" of, I can simply delete from the customer dashboard.

 

I also want to be able to tag customers at the time of customer creation.

 

Is this possible? If so, how?

Replies 0 (0)