# Spot Wholesale Prices Below Your Margin

> Checks every wholesale price against retail so nothing sells at a loss after the last price change.

- Job: [Pricing & wholesale](https://storeagent.ai/mcp-recipes/job/pricing/)
- What it does: Read only: looks, never changes anything
- Time saved: ~1 hr 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-margins/

## The prompt

```text
List my wholesale roles. Then compare the wholesale price for every role against the regular retail price for each published product. List any product where the wholesale discount is more than 40%, or where a role has no wholesale price at all. Sort by the biggest discount first.
```

## What happens when you paste it

You: List my wholesale roles…

Assistant: Checked 312 products across 2 wholesale roles. Calling: `wholesale-suite/list-wholesale-roles`, `woocommerce/products-query`, `wholesale-suite/get-wholesale-price`.

Assistant: 8 products are discounted over 40%, and 15 have no wholesale price set.

## Abilities this recipe calls

- **List wholesale roles** (`wholesale-suite/list-wholesale-roles`, read only, from Wholesale Suite): Lists every wholesale role with its member count and tax exempt status.
- **Find products** (`woocommerce/products-query`, read only, from WooCommerce): Finds products by name, SKU, status, type or stock status, with prices and stock.
- **Get wholesale price** (`wholesale-suite/get-wholesale-price`, read only, from Wholesale Suite): Shows the wholesale price saved on a product for one wholesale role.

## Variations

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

- Use 30% as the threshold instead.
- Only check products whose name contains [word].

## Related recipes

- [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.
- [Set Wholesale Prices at a Fixed Percentage Off Retail](https://storeagent.ai/mcp-recipes/bulk-set-wholesale-prices.md): Works out new wholesale prices for a group of products from their regular price, shows old and new side by side, then saves them.

---

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/
