Shopify's Unique Email and Phone Rules for Customers, Explained

By The Twinfold teamPublished Updated 8 min read
Short answer

Shopify allows each email address and each phone number to belong to only one customer profile, and each profile holds one email. Assigning a value another profile already uses fails with "has already been taken", and the CSV import skips repeated emails or phones. The rule only catches exact matches, so the same person with a different email or phone still gets a second profile.

Key takeaways
  • Shopify describes a customer's email as unique and its phone number as unique, so no two customer profiles can hold the same email or the same phone.
  • Each Shopify customer profile can have only one email address, and an order's email is used as its unique identifier.
  • Shopify's REST Admin API documents a 422 error with the message "has already been taken" when a phone number is assigned to a second customer.
  • Shopify's customer CSV import skips rows with a duplicated email or phone and imports only the last one.
  • Uniqueness only blocks exact repeats, so a second email or phone for the same person creates a separate, duplicate profile.

Shopify lets each email address and each phone number belong to only one customer profile in your store, and each profile holds a single email. Try to give a second customer an email or phone that's already in use, and Shopify refuses with an error that ends in "has already been taken". The rule is strict but narrow: it blocks exact repeats only, which is why it stops some duplicates and does nothing about most of them.

This guide explains where the rule comes from, where you'll run into it (admin edits, CSV imports, apps and the API), what the phone format looks like, and how to fix the error without making your customer list worse.

What are Shopify's unique email and phone rules?

A Shopify customer's email must be unique across the store, and so must its phone number. On top of that, a profile can carry only one email at a time.

The rule shows up in several places in Shopify's documentation:

RuleWhere Shopify states it
A customer's email is "the unique email address of the customer"GraphQL Admin API, CustomerInput
A customer's phone is "the unique phone number for the customer"GraphQL Admin API, CustomerInput
Assigning the same email or phone to multiple customers returns an errorREST Admin API, Customer resource
Each profile can have only one email addressHelp Center, Managing customers
An order's email address is used as a unique identifierHelp Center, merging customer profiles
Rows with duplicated emails or phone numbers are skipped on importHelp Center, Importing and exporting customers
A customer needs a name, phone number or email addressGraphQL Admin API, customerCreate

Two things follow from this table. First, email and phone are each optional on their own, so a profile can have just a name, just a phone, or just an email. Second, whichever values a profile does have, no other profile can have them too.

The rule applies to the customer's own email and phone fields. A phone number typed on a shipping or billing address is a separate field, and Shopify's documentation describes uniqueness only for the customer's main phone. That distinction matters later, because it's one of the places duplicates hide.

Why does Shopify say "Email has already been taken"?

Because another customer profile in your store already has that exact address. Shopify won't put the same email on two profiles, so the save fails and the existing profile is left alone.

You'll usually hit it in one of these situations:

  • Editing a profile in the admin. You open a customer, go to Manage > Edit contact information, type the email the customer says they use now, and save. If a second profile was created with that email (often by a later order), the edit is refused.
  • Creating a customer by hand. Staff add a "new" customer for a phone order without searching first, and the email already belongs to someone.
  • An app, Zapier step or script that creates customers. Shopify's REST Admin API documentation shows the response for a repeated phone as an HTTP 422 with {"errors":{"phone":["has already been taken"]}}. Community threads show the same message for emails, typically from an automation that creates a customer without looking one up first.
  • A customer registering again. On the storefront, the Storefront API's customer error codes include TAKEN, described as "The input value is already taken."

The phone version, "Phone has already been taken", has the same cause. One detail confuses people: the error names the field but not the customer who holds it. You have to find that profile yourself.

How to fix an "already been taken" error

Find the profile that already holds the value, then decide whether it's the same person. That decision, not the error itself, tells you what to do.

  1. Copy the exact email or phone number from the error or from what you tried to save.
  2. Go to Customers and search for it. Search by the email in full, and for a phone try both the digits and the +country-code form.
  3. Open the profile that comes up and compare it with the one you were editing: name, addresses, orders.
  4. Same person: don't try to move the email across. Merge the two profiles from More actions > Merge customer and keep the email you want. Shopify moves orders, addresses, tags and notes onto the kept profile.
  5. Different people: change or remove the value on the profile that shouldn't have it, then save your original edit again.

Two cautions. A merge can't be undone, so check the profiles really are one person before you confirm; our guide on merging customer accounts in Shopify walks through what the kept profile ends up with. And searching doesn't always find the holder straight away. In a Shopify Community thread, a developer reported that a lookup by email came back empty while a create call with the same email still said it was taken, and that the customer appeared a few minutes later. If search shows nothing, wait and search again before you assume the error is wrong.

Avoid the tempting workaround of swapping emails between profiles. Shopify's help documentation for customer accounts says customers can't merge profiles by changing their email address, and for merchants it only moves the problem: orders stay attached to the profile that placed them.

What phone number format does Shopify use?

Shopify stores customer phone numbers in E.164 format: a plus sign, the country code, then the number with no spaces, like +16135551212.

Its REST Admin API documentation says the field can be set in other formats as long as each one "can be dialed from anywhere in the world", and lists these as valid examples: 6135551212, +16135551212, (613)555-1212 and +1 613-555-1212. Those examples are North American numbers, where the country code can be inferred. For anything else, or for a store selling across borders, include the country code every time.

Format matters for uniqueness in a practical way. Your team compares phone numbers by eye, and a spreadsheet compares them as text. "(613) 555-1212" and "+16135551212" look different to both, even though they're the same line. Before you check a customer export for repeats, strip every phone down to digits with the country code. Our guide to exporting customers and spotting duplicates in a spreadsheet shows the formulas.

If emails must be unique, why do I still have duplicate customers?

Because uniqueness only stops exact repeats. The same person using a second email, a second phone, or no contact details at all gets a brand new profile, and Shopify sees nothing wrong with that.

Here's how each common duplicate slips past the rule:

Duplicate patternWhy the uniqueness rule doesn't catch it
Work email on one order, personal email on the nextTwo different addresses, both unique
jane.doe@gmail.com and janedoe@gmail.comGmail treats them as one inbox; Shopify's docs don't say it does
jane+shop@example.com and jane@example.comPlus addresses are different strings
POS sale with only a phone, online order with only an emailNeither profile has the other's value
Phone number stored on an address, not the profileAddress phones are a separate field
A name-only profile created for a phone orderNo email or phone to compare at all

New customer accounts add one more route. Shopify's help documentation says that if someone signs in with an email that isn't on an existing profile, a new profile is created automatically. Sign-in uses the email plus a one-time 6-digit code, so a customer who types a different address than last time simply becomes a second customer.

The Gmail and plus-address cases are common enough to have their own guide: Gmail dots, plus addresses and duplicate customers.

How the rule behaves in CSV imports

The customer CSV import enforces uniqueness inside the file, and it only touches existing customers if you tell it to. It does this quietly: it doesn't stop the import or ask you which row to keep.

According to Shopify's import documentation:

  • Customers with duplicate email addresses or phone numbers in the file are skipped and aren't tagged, and only the last profile with the duplicated value is imported.
  • The Email column is required, but the value can be blank, so phone-only and name-only customers can be imported.
  • If you tick Overwrite existing customers that have the same email or phone number, matching profiles are updated from the file, and all of that customer's data is replaced, including tags.

A worked example: a file has 1,000 rows, and 40 email addresses each appear twice because the old platform kept a guest record and an account record. Shopify imports 960 customers, keeping the last row of each pair, and doesn't report which 40 rows it dropped. If the earlier row held the phone number or the better address, that detail is gone. Deduplicate the file yourself first so you choose which row survives. Our guide to importing customers without creating duplicates covers that cleanup step by step.

Practical habits that work with the rule

The uniqueness rule is useful once you treat email and phone as identifiers, not just contact details.

  • Search before you create. For phone orders, POS sales and any automation, look the customer up by email and by phone first. Most "already been taken" errors come from skipping this.
  • Store phones in E.164. Add the country code at entry and in imports, so the same number is always written the same way.
  • Put the phone on the profile, not just the address, when you know it's the customer's own number. Shared numbers, like a household landline, can stay on the address, since only one profile can hold them in the phone field.
  • Ask which email the customer will sign in with. When a customer changes address, update the profile instead of letting a new order create a second one. Here's how to change a customer's email in Shopify without losing their order history.
  • Merge, don't swap. When an edit is refused because the value belongs to the same person, merging is the fix.

How Twinfold helps

Twinfold is a Shopify app by NewClick (independent, not made by Shopify) that finds the duplicates the uniqueness rule lets through and merges them in bulk after a preview. A free scan reads your customer list through Shopify's bulk export and groups profiles by Email variant (the same address after lowercasing, removing a "+tag", and removing dots for Gmail), Same phone (one profile's phone on another profile's address, with matching names) and Same name and address. Each group shows "Why they match", every merge is previewed with Shopify before you confirm, and merges run through Shopify's own customer merge, which keeps the main profile's email and removes the other. Merges can't be undone, so the low-confidence groups go to Review manually and are never included in the bulk preview.

Frequently asked questions

Can two Shopify customers have the same email address?

No. Shopify treats a customer's email as unique, and its developer documentation says that assigning the same email to multiple customers returns an error. If two people genuinely share an inbox, only one profile can hold that address. The other profile needs a different email or none at all.

Can two Shopify customers share a phone number?

Not in the customer's main phone field. Shopify describes that phone number as unique, and trying to give it to a second customer fails with "has already been taken". A phone number on an address is a separate field, so households that share a landline often keep it on the address instead.

What format does Shopify want for customer phone numbers?

Shopify stores customer phone numbers in E.164 format, such as +16135551212. Its REST API documentation says it accepts other formats, like (613)555-1212, as long as the number can be dialed from anywhere in the world. Including the country code is the safest choice, especially in CSV imports.

Can a Shopify customer exist without an email address?

Yes. Shopify's API requires a customer to have a name, phone number or email address, so a profile with only a name or only a phone is allowed. The customer CSV import also requires the Email column but accepts a blank value. POS and phone orders often create profiles like this.

Does changing a customer's email merge their profiles?

No. Shopify's help documentation says customers can't merge profiles by changing their email address, and changing the email to one another profile already uses is refused. To combine two profiles you use Shopify's merge, which keeps one email and removes the other.

Sources

  1. Shopify Help Center: Managing customers
  2. Shopify Help Center: Importing and exporting customers
  3. Shopify Help Center: New customer accounts
  4. Shopify.dev: CustomerInput (GraphQL Admin API)
  5. Shopify.dev: Customer resource (REST Admin API)
  6. Shopify Community: Email has already been taken while updating customer details