> For the complete documentation index, see [llms.txt](https://docs-vnext.kiflo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-vnext.kiflo.com/manage-partners/referral-links/change-partner-referral-code.md).

# How to change partner referral code? (on referral links)

Kiflo generates a unique referral code automatically for each of your partners. This code is used to generate referral/affiliate links:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-4b3bc7a49a5717623ceba26ce35fd07109421dbc%2F628d25838bf21a2e2b6d719a.png?alt=media)

{% hint style="info" %}
**Advice**

We recommend changing the referral code only for new partners who never shared or had access to referral links.
{% endhint %}

## Why change referral codes?

There are multiple good reasons for changing referral codes manually. For instance:

* If a partner is renamed, you may want to also change the referral code to keep the consistency
* If you already have a referral code for a partner, tracked in Google Analytics or other marketing tools, you can use it to keep your existing tracking

## How to change referral codes?

To update partner referral code follow these steps:

* Go to **Partners** tab
* Open relevant Partner
* Go to **Links** tab
* Click on **Update referral code** button
* Choose a new referral code
* Click **Update**

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-ea06613b8488d71de194746f43143225d25ed71e%2F628d29838c9b58508348ca72.png?alt=media)

{% hint style="warning" %}
**Important considerations**

**Changing the referral code will disable old referral links immediately!** If you change the referral code for an existing partner, who already shared referral links, all existing links will be deactivated.\
You won't be able to track visitors and leads coming on your website using old referral links.
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs-vnext.kiflo.com/manage-partners/referral-links/change-partner-referral-code.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
