# Set a Minimum Order for Wholesale Customers

> Finds how many small wholesale orders you get, suggests a minimum order amount or quantity, and sets it for the role.

- Job: [Pricing & wholesale](https://storeagent.ai/mcp-recipes/job/pricing/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~25 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + Wholesale Suite
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/wholesale-minimum-order/

## The prompt

```text
Look at orders from my wholesale customers over the last 90 days. Tell me how many were under [$150] and what share of wholesale revenue they made up. Suggest a minimum order subtotal, a minimum quantity, or both, for the [wholesale_customer] role. Show me your suggestion and wait for my OK, because this replaces the current minimum for that role. Then set it.
```

## What happens when you paste it

You: Look at orders from my wholesale customers over the last 90 days…

Assistant: 486 wholesale orders in 90 days. 71 were under $150, which is 15% of orders but only 3% of wholesale revenue. Calling: `wholesale-suite/list-wholesale-customers`, `woocommerce/orders-query`, `wholesale-suite/set-minimum-order-rule`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Set a $150 minimum subtotal for Wholesale Customer. Wholesale carts under that amount do not get wholesale prices until they reach it.

## Abilities this recipe calls

- **List wholesale customers** (`wholesale-suite/list-wholesale-customers`, read only, from Wholesale Suite): Lists wholesale customers with their role, last order date and lifetime spend.
- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.
- **Set minimum order rule** (`wholesale-suite/set-minimum-order-rule`, asks first, from Wholesale Suite): Sets or removes a minimum order quantity or subtotal for a wholesale role.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- Use a minimum of [24] items instead of a dollar amount.
- Remove the minimum for the [Gold] role.

## Related recipes

- [Spot Wholesale Prices Below Your Margin](https://storeagent.ai/mcp-recipes/wholesale-margins.md): Checks every wholesale price against retail so nothing sells at a loss after the last price change.
- [Put a Group of Products on Sale](https://storeagent.ai/mcp-recipes/bulk-sale-prices.md): Sets a sale price on every product you name, or that matches a search, and shows the old and new prices before anything changes.
- [Check What a Wholesale Customer Actually Pays](https://storeagent.ai/mcp-recipes/check-customer-wholesale-price.md): Answers "what price does this account see" by comparing the saved wholesale price with the final price after category and role rules.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
