> For the complete documentation index, see [llms.txt](https://help.openloyalty.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.openloyalty.io/playbook/sample-setups/sample-product-analytics/sharing-a-fixed-budget-across-retailers.md).

# #4 Sharing a fixed budget across retailers

In a B2B program, combine a campaign budget with a per-member limit on each product so one large buyer can't use up the whole budget.

{% hint style="info" %}

### Business case

In B2B programs, the members are retailers, installers or distributors, and their order sizes vary widely. When a supplier funds a fixed points budget for a product line, one large buyer can earn most of it in a few orders, and the smaller retailers you wanted to reach get nothing.

A **per-rule limit** with **Each member has their own** caps what one member can earn on each product. The campaign budget still caps the total, and the per-member limit spreads it across more retailers.

**💡 Useful for** wholesale, distribution and trade programs with a supplier-funded or fixed monthly budget.
{% endhint %}

### 🧩 Worked example

A supplier funds **40,000 points a month** for its 4 products. The campaign gives **10 points per item** bought.

|                                        | Without a per-member limit              | With a limit of 1,000 points per product per member |
| -------------------------------------- | --------------------------------------- | --------------------------------------------------- |
| A large distributor orders 3,000 items | Earns 30,000 points (75% of the budget) | Earns at most 4,000 points (1,000 × 4 products)     |
| Budget left for the other retailers    | 10,000 points                           | 36,000 points                                       |

With the limit, no retailer can earn more than 4,000 points a month, so the budget reaches at least 10 retailers. The large distributor's orders still go through, but above 1,000 points per product in a month it earns nothing more from this campaign.

***

### ✅ Before you start

* A campaign triggered by **Purchase transaction** that targets the products, with the effect in **Standard** mode. See [Creating Campaigns](https://help.openloyalty.io/campaigns/campaigns/campaigns-and-referral-campaigns/creating-campaigns) and [Transaction Item Filters](https://help.openloyalty.io/campaigns/campaigns/campaigns-and-referral-campaigns/creating-campaigns/transaction-item-filters).
* The budget agreed with the supplier, and how many retailers it should reach.

***

### 🛠️ Step by step

{% stepper %}
{% step %}

### Step 1: Set up the rule for the products

In the **Rules & Effects** step, add a rule with a target for the supplier's products, for example **Add attribute** › brand or SKU, **Condition:** In, and the 4 SKUs.

Add an effect that adds units to the points wallet in **Standard** mode:

* **Applies to:** the target
* **Calculate by:** By quantity
* **Units:** 10

*👉 Learn more:* [Transaction Item Filters](https://help.openloyalty.io/campaigns/campaigns/campaigns-and-referral-campaigns/creating-campaigns/transaction-item-filters)
{% endstep %}

{% step %}

### Step 2: Set the total budget

In the **Limitation & Budget** step, set the campaign's global limit to the supplier's budget, 40,000 units, with a monthly period.

*👉 Learn more:* [Campaign Limitation](https://help.openloyalty.io/campaigns/campaigns/campaign-limitation)
{% endstep %}

{% step %}

### Step 3: Add the per-member limit

In the same step, go to **Per-rule limits** and click **Add limit**:

* **Rule this limit applies to:** the rule from Step 1
* Value: **1,000**, **Units awarded**
* **Counted:** Separately for each product
* **Whose total this is:** Each member has their own
* **Resets:** Every month

<figure><img src="https://3202191049-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJYxbcM03fnO79kn9uY8G%2Fuploads%2Fgit-blob-f98e617276758e3ece5a310a7ea0fc15d0df2376%2Fplaybook-product-analytics-per-rule-limit.png?alt=media" alt="Per-rule limit: 500 units awarded, separately for each product, each member has their own, resets every month"><figcaption></figcaption></figure>

The rule's limit is applied first, then the campaign's limit and budget.

*👉 Learn more:* [Rule Limits and Rule Resolution](https://help.openloyalty.io/campaigns/campaigns/campaigns-and-referral-campaigns/rule-limits-and-rule-resolution)
{% endstep %}

{% step %}

### Step 4: Save and activate

Save and activate the campaign.

{% hint style="warning" %}
The **Campaign simulator** doesn't apply per-rule limits, so it shows the reward before the cap. Check the limit on real transactions, or in a test tenant.
{% endhint %}
{% endstep %}

{% step %}

### Step 5: Check how the budget is shared

After a few weeks, go to **Modules › Product catalog**, filter **SKUs** by the supplier's products and check **Loyalty cost** against the budget. **Top segments** and **Top tiers** show which groups of retailers earned it.

*👉 Learn more:* [Product Analytics](https://help.openloyalty.io/integrations-and-data-exchange/product-catalog/product-analytics)
{% endstep %}
{% endstepper %}

***

### 💡 Actionable tips

* Choose the cap from the budget and the number of retailers you want to reach: 40,000 points ÷ 10 retailers ÷ 4 products = 1,000 points per product per member.
* Use **Once for the whole rule** for one allowance across all the products, for example 4,000 points per member a month, whatever they buy.
* Periods are calendar periods in the store's time zone: a month starts on the 1st. A transaction counts in the period of its purchase date.
* Members don't see the limits. Tell retailers about the cap in your program terms, so a large order without points doesn't come as a surprise.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.openloyalty.io/playbook/sample-setups/sample-product-analytics/sharing-a-fixed-budget-across-retailers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
