Shopify Plus B2B: Custom Registration & Approval Workflows

Learn how to build a secure, automated Shopify Plus B2B registration and approval workflow using Company Metafields, Shopify Flow, and custom APIs.

Shopify Plus B2B: Custom Registration & Approval Workflows Cover Image
Table of Contents

Out-of-the-box Shopify Plus B2B registration forms cannot natively collect custom business credentials, validate them automatically, or hold wholesale accounts in a pending state. This technical guide provides a step-by-step blueprint to build a secure, automated B2B onboarding pipeline that prevents retail buyers from accessing wholesale pricing.

The Limitations of Default Shopify Plus B2B Registration Forms

Shopify B2B registration is the process of onboarding wholesale clients by collecting business credentials, verifying tax identities, and assigning company profiles. Because default Shopify Plus forms lack validation gates, operators must customize this workflow to prevent unauthorized retail customers from accessing restricted wholesale price lists.

The native Shopify Plus B2B registration flow contains several critical operational gaps for high-volume merchants:

Step 1: Creating Custom Registration Fields Using Company Metafields

To collect and store business credentials, you must leverage Shopify Company Metafields rather than standard Customer Metafields. This ensures the data remains tied to the buying business entity.

  1. Navigate to Settings > Custom Data > Companies in your Shopify Admin.
  2. Click Add definition to create the following three required metafields:
  3. Tax ID / EIN: Set the namespace and key to custom.tax_id with a type of "Single line text".
  4. Business License File: Set the namespace and key to custom.business_license with a type of "File".
  5. Registration Status: Set the namespace and key to custom.registration_status with a type of "Single line text" (limit choices to: pending, approved, rejected).

Step 2: Building the Custom Front-End Registration Form via Liquid or Hydrogen

Because the standard customer registration page only creates Customer profiles, you must build a custom form that handles both Customer and Company creation.

For Liquid-based themes, construct a custom page template containing an HTML form that submits payload data to a custom App Proxy or a serverless function (such as a Cloudflare Worker or AWS Lambda). This intermediary service will safely execute Shopify's Admin GraphQL API using your private access token.

Step 3: Configuring the Shopify Flow Automation for Real-Time Tax ID (EIN/VAT) Validation

Once the form submits data and creates a "pending" Company, Shopify Flow must trigger to validate the business credentials in real time.

  1. Open the Shopify Flow app and click Create workflow.
  2. Select the trigger: Company created.
  3. Add an action: Send HTTP request. Configure this to ping an external validation API (such as VAT Sense or OpenCorporates) using the custom.tax_id metafield value.
  4. Add a conditional block: Check if the API response returns a status code of 200 and a valid: true payload.
  5. If valid, configure Flow to update the Company Metafield custom.registration_status to approved.
  6. If invalid, configure Flow to set the status to rejected or flag it for manual review.

For advanced automated workflows, integrating intelligent logic can streamline operations. Check out our Agentic Commerce: Automate Shopify Inventory Guide to see how automation can transform backend processes.

Step 4: Setting Up the Manual Approval Queue and Admin Notification System

Not all business registries can be validated programmatically. You need a fallback mechanism that alerts your operations team when an application requires manual intervention.

Step 5: Automating Company Creation, Price List Assignment, and Activation Emails

Once the validation step confirms a legitimate business entity, the onboarding automation must finalize the account setup to grant immediate portal access.

To ensure your wholesale portal remains discoverable and optimized for search engines without exposing private pricing, consult our guide on Shopify B2B Technical SEO: Scale Wholesale Traffic.

Testing and Troubleshooting Common B2B Onboarding API Failures

Common Mistakes to Avoid

How to Fix API and Automation Failures

Authoritative References

Use these official resources to verify platform-specific claims and implementation details before making commercial or technical decisions:

Optimize Your Shopify Plus B2B Setup

Building custom registration and approval workflows on Shopify Plus requires a precise mix of front-end customization, secure API integrations, and robust automation. If you are looking to scale your wholesale operations, protect your margins, or migrate seamlessly from a legacy portal, let's connect. Contact me today for a comprehensive Shopify Plus cost, SEO, or migration audit to unlock your store's full B2B potential.

Continue with these related guides if you want to connect the strategy to implementation, SEO risk, performance, or conversion impact.

Frequently Asked Questions

How do you collect custom business registration data in Shopify Plus B2B?

To collect custom business registration data in Shopify Plus B2B, merchants must utilize Company Metafields rather than standard Customer Metafields. This ensures that critical business credentials, such as Tax IDs, EINs, VAT numbers, and uploaded business licenses, remain structurally tied to the buying Company entity rather than an individual customer profile. By navigating to Settings, Custom Data, and then Companies within the Shopify Admin, operators can define custom fields like custom.tax_id (Single line text) and custom.business_license (File). Because standard front-end registration forms only support customer-level data creation, developers must build a custom front-end form using Liquid or Hydrogen. This form submits the payload to a secure serverless middleware (such as a Cloudflare Worker), which executes Shopify's Admin GraphQL API using the companyCreate mutation to map the custom metafields directly to the newly created Company and Company Location profiles.

Can you automate Tax ID and VAT validation in Shopify Plus?

Yes. By using Shopify Flow combined with external APIs (like VAT Sense or OpenCorporates), you can automatically validate Tax IDs or VAT numbers. When a new Company is created, Shopify Flow triggers an HTTP request to the validation API and updates the Company Metafield status to 'approved' or 'rejected' based on the API payload response.

Why does the default Shopify registration form fail for B2B onboarding?

The default Shopify registration form only creates individual Customer accounts, not Company profiles. It cannot collect custom business data like EINs or file uploads, nor does it support a 'pending review' status, meaning users can immediately access the store without verification.

Emre Arslan
Written by Emre Arslan

Ecommerce manager, Shopify & Shopify Plus consultant with 10+ years of experience helping enterprise brands scale their ecommerce operations. Certified Shopify Partner with 130+ successful store migrations.

Work with me LinkedIn Profile
Migration Service

130+ Migrations Executed. Zero Revenue Lost.

Planning a platform move? Get a migration blueprint built for your specific stack.

See Migration Process →
← Back to all Insights
Available for work

Let's build something amazing together.

contact@arslanemre.com Response within 24 hours
arslanemre.com Portfolio & Blog
Available for work Freelance & Contract Projects
LinkedIn Connect with me
Or Send a Message

Cookie Preferences

We use cookies to enhance your experience and analyze site performance. Read our Cookie Policy and Privacy Policy.