B2B companies guide

Migrate wholesale customers to Shopify B2B

What you’ll need

  • Your wholesale customer list (a spreadsheet)

  • A Shopify plan with B2B (B2B is a Shopify Plus feature)

  • Shopify’s free GraphiQL app (with read_customers, write_customers, write_companies access)

    How to get this: Shopify’s free GraphiQL app
    1. Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
    2. Then open it any time from Apps › Shopify GraphiQL App in your admin.

    Step-by-step guide (opens in a new tab)

Open the B2B Companies Importer

Option 1: Shopify’s bulk action

In Customers, filter by your wholesale tag, select up to 250 customers, then More actions > Add to company. Each customer becomes a company with one location, and you can bring over past orders, tax exemptions, payment terms and draft-order checkout. The same settings apply to everyone in that batch.

Option 2: a spreadsheet

Export your customers, add a Company column (Shopify’s export already has Default Address Company), add Payment Terms and Location where they differ, then run the B2B Companies Importer. Existing customers are attached as contacts by email, so their accounts and order history stay with them.

  • Past orders are not moved by the importer. Use Shopify’s bulk action if you need order history on the company.
  • A customer with no company name is listed as a problem instead of being skipped silently.

After the move

Assign catalogs to your B2B markets (Markets > Catalogs). On Basic, Grow and Advanced plans you get up to 3 active catalog assignments across B2B markets; assigning a catalog straight to a company is Shopify Plus only. The B2B Price List Builder makes the catalog CSV.

More guides

Based on Shopify’s companyCreate, Apps and B2B, creating companies and B2B features by plan.