# 20. How can an affiliate edit their referral code?

Afflr provides provisions to personalize referral codes. Affiliates can change their referral code in their affiliate portal.&#x20;

To change the referral code,

1. Log in to the affiliate portal
2. Find the referral code in the dashboard and click the edit button beside it.&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/5_Wb3pBIZXnz053CXAQOgrXfCUe2y2Bm_VEWebaXcMSSey2r-_NnTA6Ec4i2FW1bfuaw2NY3dKFYrxPNCGa8dFpNr-PiLjC08qskHkiAV8jZ_olXel2lbbTino1eioSN77LOkHW2x4ZnogGNgSLf2pI" alt=""><figcaption><p>Edit Referral Code</p></figcaption></figure>

3. Enter a unique code between 4 to 12 characters containing alphabets or numbers and click Save.&#x20;

You can click the generate button to suggest a unique referral code

<figure><img src="https://lh7-us.googleusercontent.com/oRiB5rrOP_b4NX0nYJQ__09OTnPCo3c9vED8Nn5538TQoWBhT8hsZW4u4a6AwJPx-p_0_2kuBI0MnvdmBhNbxADdCJrUu-7eINdovF8EXCLJ81ISiGsg932LvIhpUA8dXphpK5APw5usC0pKpmME1y8" alt=""><figcaption><p>Save Referral Code</p></figcaption></figure>

Note: If you enter a referral code that exists already, then you will receive an error message.&#x20;

{% embed url="<https://youtu.be/QI8mMA-w8Yk?si=ZmykH_C4Ab2Ea990>" %}

<br>


---

# 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.afflr.io/frequently-asked-questions/20.-how-can-an-affiliate-edit-their-referral-code.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.
