Skip to main content

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

Written by Kyle Weiskopf
Updated over 3 weeks 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, the required fields depend on which customer account type your store uses:

  • Shopify's Customer accounts (new default): You need to include the 'email' field on your form. Password fields are not used β€” Shopify's Customer accounts system uses passwordless login (email + one-time code).

  • Shopify's Legacy customer accounts (deprecated): You need to include both the 'email' and 'password' fields on your form.

πŸ“Œ Important: Shopify has deprecated legacy customer accounts. New stores use Customer accounts by default, which does not require or support password fields for registration.

You can find the email field (and password field for legacy accounts) in the 'Standard fields' section of the app's form builder:

Shopify's Customer Accounts

Shopify's Legacy Customer Accounts

Forms without 'email' and 'password' fields

If you create a form without the email field (and password field when using Shopify's legacy accounts), 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?