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
- Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
- Then open it any time from Apps › Shopify GraphiQL App in your admin.
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
- Install Shopify’s GraphiQL app with the read_customers scope.
- Run the importer’s lookup query.
- If it returns your payment terms and companies list, the read side works. Then run round 1 with a single company.
- 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
- Import B2B companies into Shopify from a CSV
- Migrate wholesale customers to Shopify B2B
- Set Net 30 payment terms for many B2B companies
- Company import errors and how to fix them
Based on Shopify’s companyCreate, Apps and B2B, creating companies and B2B features by plan.