StoreSync logo StoreSync
Import & Export

How to Import B2B Companies Into Shopify From a Spreadsheet

Setting up wholesale customers in Shopify B2B means creating companies, locations, addresses, and contacts, often for dozens of accounts. Learn how company imports work, how to structure your spreadsheet, and how StoreSync helps you import B2B companies and keep their details up to date.

7 min read
StoreSync Team
StoreSync company structure showing a Shopify B2B company with its locations and assigned contacts

Shopify's B2B features let you sell to business customers with company accounts, separate locations, and dedicated contacts. For wholesale brands, this is a big step up from treating business buyers like regular customers.

Setting up B2B takes careful data entry, though. Each company can have several locations, each location needs shipping and billing addresses, and each location needs the right contacts with the right roles.

If you're moving existing wholesale accounts into Shopify, or onboarding many new business customers at once, creating every company, location, and contact by hand can take days.

In this guide, you'll learn why B2B setup becomes time-consuming, how companies, locations, and contacts fit together, how StoreSync helps you import companies from a spreadsheet and keep them up to date, and which practices keep your B2B data clean.

Why Setting Up B2B Companies by Hand Takes So Long

B2B records are more detailed than regular customer records. Every company brings several related pieces of information.

Here are a few typical situations:

  • You're moving 80 wholesale accounts from a spreadsheet into Shopify B2B.

  • A distributor has several warehouses, each needing its own location and address.

  • Each location needs a buyer contact with a specific role.

  • Tax IDs and external IDs must be recorded for accounting.

  • A trade show brings in a batch of new business customers to set up quickly.

Doing all of this manually creates several problems.

1. Many related records. Each company needs locations, addresses, and contacts created separately.

2. Address errors. Typing shipping and billing addresses for many locations invites mistakes.

3. Missing contacts. It's easy to create a company but forget to assign the right buyer.

4. Inconsistent data. External IDs, tax IDs, and notes may be recorded differently across accounts.

5. Slow onboarding. Business customers wait longer before they can start ordering.

A spreadsheet import lets you prepare all of this data in one place and create it in a single process.

How Do B2B Companies Work in Shopify?

Shopify B2B organizes business customers into a simple hierarchy:

  • Company: the business you sell to, with a name, notes, and an optional external ID

  • Location: a branch, store, or warehouse that belongs to the company, with its own addresses and settings

  • Contact: a customer who buys on behalf of a location, with a role such as admin or purchasing manager

Each location can have shipping and billing addresses, a tax ID, a locale, and its own external ID. Contacts are customers assigned to locations with specific roles.

Here's a simplified example of how rows map to this structure:

Name

Location: Name

Customer: Email

Customer: Location Role

Acme Corp

Acme HQ

jane.smith@acme.com

Admin

Acme Corp

Acme West

sam.lee@acme.com

Purchasing Manager

Globex Industries

Globex West

john.doe@globex.com

Purchasing Manager

The first two rows describe two locations of the same company, each with its own contact.

B2B features are available on Shopify plans that include them. You can create companies, locations, and contacts in the Shopify admin. For a few accounts, that works well. For many accounts, a spreadsheet import is much faster.

How StoreSync Helps You Import and Manage Companies

StoreSync supports companies in its File Import, Bulk Editor, and File Export. Here's how each helps.

1. Start From the Company Sample File

StoreSync provides a companies sample CSV that shows the expected structure. It includes columns for the company (Name, Notes, External ID), the location (name, phone, notes, external ID, locale, and tax ID), shipping and billing addresses, and the contact (email, first name, last name, and location role).

Starting from the sample helps you organize your data correctly from the beginning.

2. Create Companies, Locations, and Contacts Together

Each row in the import file can describe a company, one of its locations, and a contact for that location. StoreSync finds an existing company with the same name or creates a new one, then does the same for the location within that company.

This lets you add several locations to the same company by using several rows with the same company name.

3. Assign Contacts With Roles

The contact columns let you assign a customer to each location by email, along with their first and last name and their location role. This means buyers are connected to the right locations as soon as the import finishes.

4. Preview and Review Results

Before importing, StoreSync shows a preview of your company rows. Rows with errors are flagged and skipped, so valid companies can still be imported.

After the import, the results show each row's status along with the company, location, and contact it relates to, so you can check what was created.

5. Edit Company Details in the Bulk Editor

On the Pro plan, StoreSync's Bulk Editor includes a Companies tab. You can edit a company's name, external ID, and note, and assign or remove contacts. The number of locations is shown for reference.

If your store uses company metafields, they appear as columns too.

6. Export Companies for Review

StoreSync can export companies to CSV or XLSX, giving you a list of company records to review or share with your sales or accounting team.

Shopify Native Tools vs. StoreSync for B2B Companies

Shopify's B2B tools cover everything you need to manage companies one at a time. StoreSync focuses on creating and updating many records efficiently.

Feature or workflow

Shopify's built-in tools

StoreSync

Create a company

Supported in the admin

Supported through imports

Add locations with addresses

Supported per location

Location and address columns in the import file

Assign contacts with roles

Supported per contact

Contact email, name, and role columns

Create many companies at once

One company at a time

CSV or XLSX import with preview

Edit company names, external IDs, and notes

Edited per company

Companies tab in the Bulk Editor

Export companies

Depends on the admin tools available

CSV or XLSX export

Plan availability

Requires a Shopify plan with B2B

Free plan imports up to 20 companies; Bulk Editor on Pro

Feature availability and supported fields may vary. Review the current StoreSync feature list to confirm that it supports your specific workflow.

For a handful of business customers, Shopify's admin may be all you need. For wholesale programs with many accounts, a spreadsheet import can turn days of data entry into a single, reviewable process.

When Should You Import B2B Companies?

Company imports are especially useful in these situations.

Moving to Shopify B2B: Bring existing wholesale accounts into Shopify's B2B features from your current spreadsheet or system.

Onboarding new accounts: Set up a batch of new business customers after a trade show or sales campaign.

Multi-location customers: Add several branches or warehouses for the same company in one file.

Data clean-up: Standardize external IDs, tax IDs, and notes across company records.

Team handovers: Give your sales team an exported list of companies and contacts.

Best Practices for Importing B2B Companies

These habits help your B2B data stay accurate.

Confirm B2B Is Available First

Make sure your Shopify plan includes B2B features before preparing your import.

Use Consistent Company and Location Names

Companies and locations are matched by name, so use exactly the same spelling on every row that belongs to them.

Validate Addresses Before Importing

Check postal codes, province codes, and country codes in your spreadsheet. Accurate addresses prevent shipping and tax problems later.

Use Real Contact Emails

Contacts are identified by email, so make sure each address is correct and belongs to the right buyer.

Record External IDs

If you use an ERP or accounting system, include its IDs in the External ID columns so records can be matched later.

Assign a Contact to Every Location

A location without a contact can't place orders on behalf of the company. Include at least one contact for each location so your business customers can start buying right away.

Import a Few Companies First

Test with two or three companies, check them in the Shopify admin, and then import the rest.

Onboard Business Customers Faster

Shopify B2B gives wholesale brands powerful tools, but setting up companies, locations, and contacts by hand can slow you down. Preparing everything in a spreadsheet lets you review the data before it reaches your store and create it in one step.

With matching by name, contact roles, and a preview before import, company setup becomes a predictable process.

StoreSync supports company imports from CSV and XLSX files, a Companies tab in its Bulk Editor, and company exports. To prepare clean import files, read our guide to structuring a Shopify import file. For a broader look at spreadsheet workflows, see our guide to exporting and importing Shopify data with CSV and Excel files.

Ready to simplify your Shopify store management workflow?

Explore StoreSync and discover a more convenient way to manage your Shopify store data.

Explore StoreSync

Frequently Asked Questions

Can I import B2B companies into Shopify?

You can create companies in the Shopify admin, and tools such as StoreSync let you import companies from CSV or XLSX files. StoreSync's import can create companies, locations, addresses, and contacts from the same spreadsheet.

What columns does a company import need?

StoreSync's companies sample includes columns for the company name, notes, and external ID; location name, phone, notes, external ID, locale, and tax ID; shipping and billing addresses; and the contact's email, name, and location role.

Can one company have several locations in the import?

Yes. Use several rows with the same company name and a different location name on each row. StoreSync finds the existing company by name and creates or matches each location within it.

How are contacts assigned to locations?

Each row's contact columns identify a customer by email, along with their name and location role. StoreSync assigns that contact to the location described on the same row.

Do I need Shopify B2B to import companies?

Yes. Companies are part of Shopify's B2B features, so your Shopify plan needs to include B2B before you can create or import companies.

Can I edit companies after importing them?

Yes. On the Pro plan, StoreSync's Bulk Editor includes a Companies tab where you can edit company names, external IDs, and notes, and assign or remove contacts. You can also make changes in the Shopify admin.

Try StoreSync for Free

Start with the free plan — 50 products, 20 collections, and 20 pages — no credit card required. Upgrade when you're ready.

Install on Shopify Contact Us