# Assign Coupons to Affiliates

**GoAffPro** provides you with the option to assign coupons to affiliates.

To assign coupons to affiliates, go to the **Coupons** tab in the GoAffPro admin panel.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F4T3lGVFbWqcFqkbNxCYK%2Fimage.png?alt=media&#x26;token=1d0d4b08-9fed-4c10-9f2b-d1386b48beef" alt=""><figcaption><p>Coupons tab </p></figcaption></figure>

Here, go to the Coupon Based Commissions section.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fy3ybigkc0jUBQHGTX38a%2Fimage.png?alt=media&#x26;token=9eb86e5f-ae6f-43ae-8c7a-966c2c067f96" alt=""><figcaption><p>Coupon Based Commissions</p></figcaption></figure>

Now, click on **Assign coupon to affiliate**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fb9SPoAei5c5G524sLBWe%2FScreenshot%202024-01-08%20142515.png?alt=media&#x26;token=a0572a3b-2fe9-41d8-bcb4-bc811a98c555" alt=""><figcaption><p>Click on Assign coupon to affiliate</p></figcaption></figure>

This will open up the Create coupon window.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FNPnjAz9xyxqFETl8gncG%2Fimage.png?alt=media&#x26;token=819f5e20-edec-41eb-acf4-03c1ae48a462" alt=""><figcaption><p>Create coupon</p></figcaption></figure>

Here, select the affiliate.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fp40YLMpATeXY1RTlGjZC%2FScreenshot%202024-01-08%20142542.png?alt=media&#x26;token=d29bf41b-b3fc-47e3-85b3-076cd31d6efa" alt=""><figcaption><p>Select the affiliate</p></figcaption></figure>

Now, choose the "Create coupon code in store" option.

{% hint style="info" %}
By default, this option is already selected.
{% endhint %}

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FOgD4cwAuCKmuYWgPNSUA%2FScreenshot%202024-01-08%20142555.png?alt=media&#x26;token=2bba7674-e925-4345-8056-019544b52c9f" alt=""><figcaption><p>Choose the "Create coupon code in store" option</p></figcaption></figure>

Next, set the coupon code.

{% hint style="info" %}
The coupon will be created automatically in your store with the discount value set in the automatic coupons section.
{% endhint %}

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FwTGJCAiOzM6kAmCW6DRt%2FScreenshot%202024-01-08%20142615.png?alt=media&#x26;token=c55bc3e5-f902-4015-91cd-daf54cedae90" alt=""><figcaption><p>Set the coupon code</p></figcaption></figure>

After this, click on **Submit**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fnrs7POwKyrnMOpKIiXhu%2FScreenshot%202024-01-08%201426231.png?alt=media&#x26;token=4f7c8a33-97b8-4251-90c8-fb006f54bc93" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

Finally, the newly created coupon will appear in the Coupons tab.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F4iqEoFE6lSfSgZQx3C60%2FScreenshot%202024-01-08%20142708.png?alt=media&#x26;token=5523365f-19b8-4be7-8933-aa577634c0cb" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/uwNlw9aJIEM>" %}
Assign Coupons to Affiliates
{% 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-coupons/assign-coupon-to-affiliate.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.
