B2B companies guide

Can non-Plus stores create companies through the API?

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

What the docs say

Every company mutation reads: “Requires write_customers access scope or write_companies access scope. Also: The shop must have access to B2B. Some operations may require additional plan capabilities.” The “Apps and B2B” page adds the dev store / Plus Partner / affiliate limit. That page is written for app developers, and Shopify’s GraphiQL app is itself an app, so the limit may apply to it.

How to find out on your store

  1. Install Shopify’s GraphiQL app with the read_customers scope.
  2. Run the importer’s lookup query.
  3. If it returns your payment terms and companies list, the read side works. Then run round 1 with a single company.
  4. If Shopify answers “Access denied”, your store or the app can’t use the B2B API. Use Shopify’s bulk “Add to company” action or an import app instead.

Plan limits that apply either way

Unlimited companies; up to 10,000 locations per company; up to 50 customers per location. Deposits, partial payments and catalogs assigned directly to a company are Shopify Plus only.

More guides

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