> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/program-settings/referral-link-configuration/enable-multiple-referral-codes-for-affiliates/set-multiple-referral-codes.md).

# Setup Multiple Referral Codes

### To set up multiple referral codes for affiliates as a merchant: <a href="#to-set-up-multiple-referral-codes-for-affiliates-as-a-merchant" id="to-set-up-multiple-referral-codes-for-affiliates-as-a-merchant"></a>

Go to the affiliate's profile settings.

<figure><img src="/files/biQOgh0JbmvoPD1iNb35" alt=""><figcaption><p>Affiliates > All Affiliates > Click on the Affiliate's name > Settings </p></figcaption></figure>

In the Referral Code section, the referral codes for the affiliate (one referral code per line).

<figure><img src="/files/KrPYSjmYxvzhAU9azPhj" alt=""><figcaption><p>Enter the referral codes</p></figcaption></figure>

Now, click on **Submit**.

<figure><img src="/files/8YSjJ2ICXw8A19I7cJqX" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

{% embed url="<https://youtu.be/Rwit2cT1h6Y>" %}
Setup Multiple Referral Codes (Merchant)
{% endembed %}

### To set up multiple referral codes as an affiliate:

Go to the **Settings** section in the affiliate dashboard.

<figure><img src="/files/9XIl0n4gw237wsqpzQw4" alt=""><figcaption><p>Affiliate Dashboard > Settings</p></figcaption></figure>

Here, click on **Change** in the Referral Code section.

<figure><img src="/files/73xVuN7BlV6GxcXMydA8" alt=""><figcaption><p>Click on Change</p></figcaption></figure>

After this, enter the referral codes (one referral code per line).

<figure><img src="/files/f9TSZAJKW8lmCm0kysPJ" alt=""><figcaption><p>Enter the referral codes</p></figcaption></figure>

Finally, click on **Save Changes**.

<figure><img src="/files/ynoMukGQBWOaZisoustI" alt=""><figcaption><p>Click on Save Changes</p></figcaption></figure>

{% embed url="<https://youtu.be/_OQFPjMfwBM>" %}
Setup Multiple Referral Codes (Affiliate)
{% endembed %}


---

# 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 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/program-settings/referral-link-configuration/enable-multiple-referral-codes-for-affiliates/set-multiple-referral-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.
