# Commission structure

In the **Commission Structure** section, there are three available types that you can choose from:

<figure><img src="/files/p8oXK1cJAEOt51jjjXOO" alt=""><figcaption><p>Edit program page</p></figcaption></figure>

{% hint style="info" %}
**Tips:** If you want to exclude shipping/tax fees from the commission calculation, click [HERE](https://docs.uppromote.com/management/programs/program-settings/commission-calculation-settings) to find the instruction.
{% endhint %}

## **Flat rate per order**

With this option, the commission rate can be set up as a fixed amount on each referral order.

For example, if you set the commission amount to $10 per order, when your customer purchases through the referral link, your affiliate will get a $10 commission no matter how much the total sales is.

<figure><img src="/files/ppdY7ljd5gVy9yijX3d7" alt=""><figcaption></figcaption></figure>

After an order is marked as **fulfilled** and **paid** on your Shopify admin (unless you enable the **Record pending orders as referrals** in **Settings** > **General** > **Notifications & Others**), its status will be shown on your back end in the **Referrals** section with the commission amount.

<figure><img src="/files/xua9rkFACbvJslRpsVRF" alt=""><figcaption></figcaption></figure>

## **Flat rate per item**

Commissions in dollars will be calculated on product units.&#x20;

For example, if you set the commission amount to **$5 per item**, when a customer makes a purchase of 3 items through the referral link, the affiliate’s commission will be $5 \* 3 = **$15**.

<figure><img src="/files/xTW7JVU4WRCtMdfqGOVO" alt=""><figcaption></figcaption></figure>

The referral order status will be updated on your back end.

<figure><img src="/files/AlehB51B3GTzkiSrzSqz" alt=""><figcaption></figcaption></figure>

## **Percent of sale**

Commissions will be calculated based on a percentage of the total value brought by the affiliate.&#x20;

For example, if you set the percentage value to 15%, any order made through the referral link will bring your affiliate a 15% value of the total order amount (not including VAT or other extra fees).

<figure><img src="/files/gM5fkArD50Vwel4FTk6D" alt=""><figcaption></figcaption></figure>

After choosing the proper commission type, fill in the desired amount in the **amount** box, then click **Save.**

{% hint style="info" %}
If you create more than 1 program and then downgrade to the Free plan, the system will deactivate the extra programs (except the default one) and exclude referrals from affiliates in those programs.
{% endhint %}

{% hint style="info" %}
To setup commission rules for subscription orders, please refer to [this document](/settings/integrations/subscription-apps.md#subscription-commission-setup) for more details.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uppromote.com/management/programs/program-settings/commission-structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
