All Collections
Customer Fields
Tips & Tricks
Minimum required fields for customer records
Minimum required fields for customer records

Details about which pieces of data are required in order for a form to create a customer record in Shopify

Kyle Weiskopf avatar
Written by Kyle Weiskopf
Updated over a week ago

Fields needed to create a customer account in Shopify

The form builder in Customer Fields gives you full control over ALL of the fields that are included in a form. With this much control, it's important to note the following:

If you want customer accounts to be automatically created in Shopify when someone submits a form, then you need to make sure that you include the 'email' and 'password' fields on your form.

You can find the email and password fields in the 'Standard fields' section of the app's form builder:ย 

Forms without 'email' and 'password' fields

If you create a form without the email and password fields, then users can still submit the form and the form data will be saved into Shopify. However, unless the person submitting the form has already logged into an existing customer account before submitting the form, then the app will create a new customer record in Shopify, and this new customer record will not have an account. If the person is logged in to an account prior to submitting the form, then the app will update their existing customer record in Shopify once the form is submitted.

Fields needed to save customer data in Shopify

Since the Customer Fields app is primarily designed to save customer data in Shopify when someone submits a form, and Shopify requires certain fields when creating a customer record, each registration form you create in the app should have at least one of the following fields:

  • First name (first_name)

  • Last name (last_name)

  • Email (email)

  • Phone (phone)

Forms without a 'first name', 'last name', 'email', or 'phone' field

If someone tries to submit a form on the storefront without a value for at least one of the fields needed to save data to Shopify (listed above), and the person submitting is not already logged in to a customer account on the storefront, then they will see an error message like the following:

"Customer must have an email address, phone number or name"

Pro-tip: The copy for this error message can be edited using the 'Language' settings in the form builder (Edit form > 'Settings' > 'Language' > 'Insufficient information error'). Learn more about Form Settings

To be clear, existing customers who have logged in to their account will not see this error when submitting the form - it's only users who have yet to register for an account (or have not logged in to their account) that will receive the error.

To avoid this potential error altogether when submitting forms, we suggest using at least one of the required fields (first_name, last_name, email, or phone), which will satisfy Shopify's minimum requirements for customer records.

Have questions? Need help?

Please contact us via chat or email, and we'll be happy to assist ๐Ÿ‘ย 

Did this answer your question?