· Zayd Khan · order-limits · 7 min read
B2B Order Limits: Controlling Wholesale Quantities on Shopify
Wholesale and B2B stores have unique ordering requirements—minimum quantities, maximum allocations, and tier-based restrictions. Here is how to enforce these rules on Shopify B2B checkouts.

B2B selling on Shopify comes with different rules. Wholesale customers need minimum order quantities. Distributors have allocation limits during shortages. Dealers get tier-based purchasing privileges. Retail customers might need to be blocked entirely from certain products.
Shopify’s B2B features handle the basics—company accounts, price lists, payment terms. But controlling what quantities customers can order requires additional tooling.
DC Order Limits works with Shopify’s B2B checkouts, enforcing your wholesale ordering rules the same way it handles retail orders. Here is how to set it up.
Why B2B needs different limits
Wholesale ordering is not retail ordering at scale. The requirements are fundamentally different:
Minimum order quantities (MOQs). You cannot profitably ship single units to wholesale customers. Orders need to meet a minimum—$500, 50 units, or 5 cases. Below that threshold, the order should be blocked.
Case pack or lot quantities. Products ship in cases of 12 or pallets of 48. You cannot break cases. Customers need to order in increments that match your fulfillment constraints.
Maximum allocations. During supply shortages, you need to limit how much each dealer can purchase. Fair allocation keeps your distribution network healthy.
Tier-based restrictions. Gold dealers can order up to 500 units. Silver dealers max at 200. New accounts start with 50 until they establish a track record.
Resale prevention. Some wholesale customers might try to over-order and resell to competitors. Per-period limits can prevent this.
Setting up minimum order quantities
The most common B2B requirement is minimum order quantities. Here is how to configure this:
Step 1: Create a cart limit rule. In DC Order Limits, go to Cart Limits and create a new rule. Choose “minimum” as the limit direction.
Step 2: Set the minimum value. This could be a minimum cart total ($500) or a minimum quantity across the cart (50 units). Choose based on your business model.
Step 3: Target B2B customers. Use customer tags to target wholesale accounts. If you use Shopify’s B2B features, wholesale customers typically have specific tags or company associations you can target.
Step 4: Configure the error message. Something like: “Wholesale orders require a minimum of $500. Your current cart total is $350. Please add more items to proceed.”
Step 5: Consider exclusions. You might want to exclude certain products from the minimum calculation—samples, promotional items, or accessories that do not count toward minimums.
Enforcing case pack quantities
Many wholesale products must be ordered in specific increments. A case of 12, a carton of 48, a pallet of 144.
DC Order Limits handles this with quantity increment rules:
Step 1: Create a quantity increment rule. Select the products or variants that require specific increments.
Step 2: Set the increment value. If cases contain 12 units, set the increment to 12. Customers can order 12, 24, 36, but not 15 or 30.
Step 3: Set an optional minimum. Require at least one case (12 units) to prevent single-unit orders.
Step 4: Configure messaging. “This product is sold in cases of 12. Please adjust your quantity to a multiple of 12.”
For more on quantity increments, see how merchants use quantity increments to simplify pack-based ordering.
Managing allocation during shortages
When supply is constrained, you need to allocate fairly across your dealer network. Without limits, your biggest customers order everything, and smaller dealers get nothing.
The scenario: You have 1,000 units available this month. You have 50 active dealers. You want each dealer limited to 50 units until supply stabilizes.
Step 1: Create a customer limit rule. In DC Order Limits, create a customer limit with a time window.
Step 2: Set the maximum per period. 50 units per customer per month.
Step 3: Apply to wholesale customers. Target by customer tag or company association.
Step 4: Communicate the policy. Your error message should explain the allocation: “Due to limited supply, orders for this product are limited to 50 units per account per month.”
When supply returns to normal, disable or adjust the rule.
Tier-based purchasing limits
Different wholesale tiers deserve different limits. Your most valuable dealers should have higher allocation than new accounts.
The setup:
- Gold dealers (tag:
wholesale-gold): Max 500 units per month - Silver dealers (tag:
wholesale-silver): Max 200 units per month - Bronze dealers (tag:
wholesale-bronze): Max 50 units per month
Create three customer limit rules, each targeting a different customer tag. The rules run independently, so each tier gets its own limit.
You can also use exclusion rules to give certain accounts unlimited purchasing. Tag your top 5 accounts as wholesale-unlimited and exclude that tag from all limit rules.
For more on exclusion rules, see introducing exclusions: a new way to fine-tune your order limit rules.
Preventing unauthorized reselling
Some wholesale customers order far more than their legitimate business needs, then resell to unauthorized channels. This damages your brand and undercuts your authorized retailers.
Purchase velocity limits help detect and prevent this:
Monthly purchase caps. Limit total units a dealer can purchase per month. Base the cap on their historical volume plus reasonable growth.
Lifetime limits on new accounts. New wholesale accounts get a 90-day probation period with lower limits. After they establish a track record, you increase their allocation.
Product-specific restrictions. Your most-resold products might need stricter limits than your full catalog.
B2B checkout flow
Shopify’s B2B checkouts flow through the same validation layer as retail checkouts. When a wholesale customer completes checkout, Shopify evaluates your validation functions before processing the order.
This means DC Order Limits works identically whether your customer is:
- Checking out via their company account on your wholesale storefront
- Using the B2B portal
- Completing a draft order you created for them
- Placing an order through a headless B2B implementation
The rules evaluate at checkout, regardless of how the customer got there.
Combining with payment terms
Shopify B2B supports payment terms—net 30, net 60, deposit requirements. DC Order Limits does not interfere with payment terms. The limit rules run first (validating quantities and totals), and payment terms apply afterward.
This means you can have:
- A $500 minimum order requirement
- Plus net-30 payment terms for approved accounts
- Plus per-product quantity limits
All working together in the same checkout.
Practical example: auto parts distributor
A wholesale auto parts distributor uses DC Order Limits for their B2B Shopify store:
Minimum orders: All wholesale orders require $500 minimum. Accounts tagged wholesale-starter have a $250 minimum during their first 90 days.
Case packs: Brake pads ship in cases of 4. Oil filters ship in cases of 12. Customers order in increments only.
Allocation during shortages: When a supplier has backorder issues, they limit affected products to 20 units per dealer per week until supply recovers.
Tier limits: Platinum dealers have no caps. Gold dealers max at $10,000/month on high-demand products. Silver dealers max at $5,000/month.
New account limits: New wholesale accounts are limited to $2,500 total in their first 30 days while the team verifies their business credentials.
The result: predictable ordering, fair allocation, and protection against resellers—all enforced automatically at checkout.
Setting up your first B2B rule
Start with your most critical requirement. For most wholesale stores, that is minimum order quantity:
- Create a cart limit rule with direction “minimum”
- Set the minimum value (dollar amount or quantity)
- Target your wholesale customer tags
- Test with a wholesale account to verify the limit enforces correctly
Once the minimum is working, layer on additional rules—case pack increments, allocation limits, tier-based restrictions—as your business needs.
Limitations to know
Mixed retail and wholesale. If you run both retail and wholesale on the same Shopify store, make sure your B2B rules only target wholesale customers. Use customer tags or company associations to separate the audiences.
Order edits. If you edit an existing order in Shopify Admin, validation functions do not re-run. The edited order could potentially exceed limits. Monitor edited orders separately if this is a concern.
POS. If your wholesale customers also purchase via Shopify POS (at a trade show, for example), those orders currently bypass validation functions. POS support is coming soon.
Getting started
Wholesale and B2B stores have ordering requirements that retail stores do not. Minimums, case packs, allocation limits, and tier-based restrictions are essential for running a wholesale operation efficiently.
DC Order Limits enforces these rules on Shopify’s B2B checkouts, giving you control over wholesale ordering without manual review or custom development.
Set up your rules in the app, target your wholesale customers, and enforcement happens automatically at checkout.




