B2B Company Contacts and Duplicate Customers on Shopify
Shopify won't merge two customer profiles if either one is a B2B customer actively linked to a company or still linked to past B2B orders. Because a customer can belong to only one company and each email can belong to only one customer, B2B stores often end up with deliberate duplicates. Merge retail duplicates before you add anyone to a company, and link the rest with notes.
- Shopify blocks a merge if either profile is a B2B customer actively linked to a company, or still linked to past B2B orders.
- Shopify lets you add a customer to only one company, though that customer can be assigned to several locations within it.
- A single email address can belong to only one Shopify customer, so a buyer for two companies needs two emails, often a plus-suffix variant.
- Removing a contact from a company keeps the customer profile as a D2C customer, but orders created after the customer joined the company can't be removed from it.
- Merge retail duplicates before you migrate customers to companies, because the company link makes the profile unmergeable.
Shopify won't merge a B2B company contact. Its help documentation blocks a merge when either profile is a B2B customer actively linked to a company, or still linked to past B2B orders, and there's no setting that overrides it. At the same time, B2B rules tend to create duplicate customers on purpose: a customer can belong to only one company, and an email address can belong to only one customer. So a store selling wholesale on Shopify usually has two kinds of duplicates, the accidental ones you should merge early and the deliberate ones you should leave alone and label.
This guide covers how B2B profiles work, why they block merges, where B2B duplicates come from, and a safe order for cleaning them up.
How do companies and contacts work in Shopify B2B?
A company is a customer record for a business, and a contact is an ordinary Shopify customer profile attached to it. Shopify's help docs describe a company as the parent organization for one or more company locations, and a location as the business you're actually selling to. Every company gets one location when you create it.
The people who buy for the company are regular customer profiles, which Shopify's B2B pages simply call customers. Each one is assigned to a company location with a permission:
- Ordering only: the customer can place orders for the location and see their own order history.
- Location admin: the customer can place orders, see every order placed for that location, and edit its billing and shipping addresses.
You attach a customer to a company in one of two places. From the company, go to Customers > Companies > [company], open the menu in the Customers section and choose Add customer, then search for an existing profile or click Add new customer. From the profile, go to Customers > [customer], open the menu in the Customer section and choose Add to company.
Two limits shape everything else in this guide. Shopify says you can add a customer to only one company, though you can add that customer to multiple locations within the company. And the help docs state that a single email address can be used by only one customer. A company can have up to 10,000 customers, with up to 50 per location.
B2B isn't limited to Shopify Plus. Shopify's plan features page says B2B is available on the Basic, Grow, Advanced and Shopify Plus plans, but not on Starter or Retail. B2B also requires customer accounts rather than legacy accounts, and contacts sign in with their email and a one-time code.
Can you merge a B2B company contact in Shopify?
No. Shopify's merge rules list "a B2B customer actively linked to a company, or still linked to past B2B orders" among the conditions that block a merge, and the block applies if either profile in the pair qualifies. Shopify's merge preview API names this blocker COMPANY_CONTACT, described simply as "The customer is a company contact."
The wording has two halves, and both matter:
- Actively linked to a company. Any profile currently attached to a company is blocked, even one that has never ordered.
- Still linked to past B2B orders. A profile that has been removed from its company can still be blocked by the orders it placed as a B2B buyer.
That second half is why most B2B contacts are permanently unmergeable. For the full list of conditions that stop a merge, including subscriptions, store credit and saved cards, see why Shopify won't merge some customers.
Why do B2B stores end up with duplicate customers?
Mostly because Shopify's own rules require it. One email per customer plus one company per customer means anyone with more than one buying role needs more than one profile. The rest are ordinary duplicates that B2B makes harder to fix.
| Scenario | Why a second profile appears | Merge or keep separate? |
|---|---|---|
| A buyer purchases for two different companies | A customer can join only one company, so the second company needs its own profile and email | Keep separate |
| A wholesale buyer also shops retail for themselves | Shopify gives the B2B experience to any email linked to a company location | Usually keep separate |
| A buyer had a retail profile before you set up B2B, then you created a new contact for them with a different email | Add new customer creates a fresh profile instead of using the existing one | Merge the retail duplicates before linking, if caught early |
| Two staff at the same business share an inbox | One email can belong to only one customer | Usually keep one profile per person, with their own email |
| Retail duplicates from POS or guest checkout | The usual causes, unrelated to B2B | Merge, as long as neither profile is a company contact |
Whether a buyer who orders wholesale and shops retail needs one profile or two depends on your setup; our guide to wholesale and retail profiles for the same customer walks through the decision.
For the first two scenarios, Shopify's help docs suggest a plus suffix: name+dept1@example.com reaches the same inbox as name@example.com but counts as a different address. The catch, per the same docs, is that the customer has to type the suffix every time they sign in. Write down which variant belongs to which company, because the customer will ask.
Plus-suffix addresses are exactly what most duplicate-finding methods treat as the same person. That's correct for retail customers, as our guide to Gmail dots and plus addresses explains, and wrong for a B2B buyer who has two profiles on purpose.
Can you remove a customer from a company and then merge?
Sometimes, but rarely once the contact has ordered. Removing a contact keeps their profile as a D2C customer, but any B2B orders they placed keep the link that blocks merging.
To remove a customer from a company, go to Customers > [customer], open the menu in the Company section and choose Remove from company. Shopify offers an option, Remove customer's orders from company, then you confirm with Remove from company. According to Shopify's help docs, the customer profile isn't deleted and is stored as a D2C customer, but any orders created after the customer was added to the company can't be removed from it.
Put that next to the merge rule, which also blocks profiles "still linked to past B2B orders", and the practical outcome is:
- A contact with no orders: removing them from the company should clear the active link. Shopify doesn't spell out that this makes the profile mergeable, so preview one pair before you plan around it.
- A contact with B2B orders: the orders stay with the company, so expect the profile to stay blocked.
If you only want to take a buyer off one location, don't remove them from the company. Use the Permissions section on their profile, click Manage, deselect the location and click Save.
Deleting is even more limited. Shopify won't delete a customer profile that has orders, won't delete a company that has orders, and won't delete a location with orders or draft orders. If you're weighing removal against keeping a record, our guide on whether to delete or merge a Shopify customer walks through the trade-offs.
Merge first, then set up companies
The cheapest moment to clean up duplicates is before a customer becomes a company contact. Once the link exists, Shopify blocks the merge, so every retail duplicate of a future B2B buyer should be merged first.
A safe order of work for a store moving existing customers into B2B:
- Find duplicates of future B2B buyers. Export or scan your customer list and look for the same person under different emails, phone numbers or names. Our guide on how to find duplicate customers in Shopify covers the methods.
- Merge them. Use Customers > [customer] > More actions > Merge customer, keeping the email the buyer will sign in with as the main profile's email. Shopify keeps the main profile's email and removes the other.
- Migrate the surviving profile. Shopify's migration guide lets you select up to 250 customers from the customer list, choose Add to company, then Set up companies, which creates one company per selected customer without recreating their profile. For a single customer, use Add to company on their profile.
- Move order history if you want it. Shopify says you can migrate D2C orders to a company, but not canceled or deleted orders, and you can't move only part of a customer's history.
- Create deliberate second profiles last. If a buyer needs a retail profile or a profile for another company, create it after migration with a clearly different email, and record it.
Here's an example. A buyer, Priya, has three profiles: one from an online order as priya@studio.com, one from a trade show POS sale with only a phone number, and one from a guest checkout as priya.r@studio.com. You merge all three into the priya@studio.com profile, add it to Studio Co.'s company, and migrate her past orders. If she later wants personal orders kept apart, you create priya+home@studio.com as a separate retail profile and tag both.
How to label B2B profiles that must stay separate
Treat deliberate duplicates as linked records, not mistakes. Shopify doesn't document a way to link two customer profiles, so use the fields you have.
- Note on each profile. Name the other profile's email and why it exists, for example "Retail profile for the same person: priya+home@studio.com. Do not merge."
- A shared tag, such as
b2b-linked, so staff can filter for these profiles. - A record of which email signs in where, kept with your wholesale account notes, since the buyer has to type the right variant each time.
- Dismiss them in your duplicate tool, so they stop showing up as matches in every scan.
This also helps your reports. Two profiles for one person split their order count and spend, which our guide on duplicates and lifetime value explains.
How Twinfold helps
Twinfold is a Shopify app by NewClick (independent, not made by Shopify) that finds duplicate customers and merges them in bulk through Shopify's own customer merge. It can't merge a profile Shopify refuses, including a B2B company contact.
What it does is useful on both sides of a B2B cleanup. Before you set up companies, a free scan groups retail duplicates by email variant, shared phone, or the same name and address, and you can merge them after a preview. After B2B is live, every merge is still previewed with Shopify first, so groups that include a company contact land in the Can't merge tab with the reason, and those profiles are left unchanged. Because Twinfold's email rule treats a "+tag" address as the same email, a buyer's deliberate plus-suffix profiles will be grouped together; click Not duplicates on that group and future scans skip it.
B2B on Shopify trades merge flexibility for clean company records. Merge the accidental duplicates while you still can, before the company link is in place, and label the deliberate ones so nobody tries to merge them later.
Frequently asked questions
Can you merge a Shopify customer who is a B2B company contact?
No. Shopify's help documentation says a merge is blocked if either profile is a B2B customer actively linked to a company, or still linked to past B2B orders. Shopify's API reports this as the COMPANY_CONTACT blocker in a merge preview. It only takes one profile in the pair to block the merge.
Can one Shopify customer be a contact for two companies?
No. Shopify's B2B help docs say you can add a customer to only one company, but to multiple locations within that company. If one person buys for two separate companies, each company needs its own customer profile, which means two different email addresses.
If I remove a customer from a company, can I merge them?
Only if nothing B2B remains on the profile. Removing a contact keeps the profile as a D2C customer, but Shopify's merge rules also block profiles still linked to past B2B orders, and orders placed after the customer joined the company can't be removed from it. A contact who has placed B2B orders will usually stay blocked.
Can a B2B customer also shop as a regular retail customer?
Shopify decides the experience by the email used to sign in. An email associated with a company location gets the B2B experience, and an email associated only with a customer gets the D2C one. Shopify's docs don't describe switching between the two on one profile, so stores that need both usually give the buyer a separate retail profile.
Sources
- Shopify Help Center: Managing customer profiles (merging)
- Shopify Help Center: Adding customers to companies
- Shopify Help Center: Migrating existing customers to companies
- Shopify Help Center: B2B customer login and accounts
- Shopify Help Center: B2B plan features
- Shopify.dev: CustomerMergeErrorFieldType enum