# Set Commission for Coupon Codes

GoAffPro provides you with the option to set commissions for coupon codes.&#x20;

To set commission for coupon codes, go to the **Referral commissions** section in the **Commissions** tab of the GoAffPro admin panel.&#x20;

<figure><img src="/files/43jxlSV3fq3SbERYXUAe" alt=""><figcaption><p>Commissions > Referral commissions</p></figcaption></figure>

Here, go to the Commission rules section.

<figure><img src="/files/Ok3D63pms64TL3yZm7TT" alt=""><figcaption><p>Commission rules</p></figcaption></figure>

Now, click on **New Commission Rule**.

<figure><img src="/files/QT2isfQritpU409N2HaE" alt=""><figcaption><p>Click on New Commission Rule</p></figcaption></figure>

This will open up the New commission rule window.

<figure><img src="/files/ztPClRhYeSFcLzOakaDf" alt=""><figcaption><p>New commission rule</p></figcaption></figure>

Here, select the "Coupon code" rule.&#x20;

<figure><img src="/files/s7n3yFsgZkAn4M9clujG" alt=""><figcaption><p>Select the "Coupon code" rule</p></figcaption></figure>

Next, set the coupon code name as the value.

<figure><img src="/files/EXljxLE8XKEVqi5wpcOM" alt=""><figcaption><p>Set the coupon code as the value</p></figcaption></figure>

After this, set the commission rate.

<figure><img src="/files/iiuybu22KimkrgLQ66lZ" alt=""><figcaption><p>Set the commission rate</p></figcaption></figure>

Finally, click on **Submit**.

<figure><img src="/files/4NuvLE6tRZ6pDfythEZA" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

The commission rate will be set for the coupon code. When this coupon code is used to purchase in your store, the affiliate will earn this commission.&#x20;

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

{% embed url="<https://youtu.be/YNKWv9FHP1Q>" %}
Set Commission for Coupon Codes
{% endembed %}


---

# 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.goaffpro.com/affiliate-commissions/setup-commission-rules/set-commission-for-coupon-codes.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.
