# Edit affiliate referral link

### 🔗 What is an Affiliate Referral Link?

An **affiliate referral link** is the unique URL an affiliate shares to promote your store.\
When a customer clicks this link and places an order, the affiliate earns a commission.

***

### ✏️ How to Edit an Affiliate Referral Link

#### Steps

1. Open **Affiliates** from the left menu
2. Click on the affiliate you want to edit
3. Go to the **Promote** section
4. Click **Edit**
5. Update the referral link (or regenerate it if available)
6. Click **Save**

<figure><img src="/files/3K4TjnHOclU5PIsV4vcH" alt=""><figcaption></figcaption></figure>

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

***

### ✏️ How to Customize an Affiliate Referral Link (Example)

An affiliate referral link consists of:

* Your **store or page URL**
* An affiliate **referral code** (`ta_aff`)

> You cannot change the store **domain**\
> You can change the page **path** (product or collection page)\
> You can edit the referral code text

#### Example

Base page:

```
https://booking-nga.myshopify.com/collections/diamond
```

Referral code:

```
LAURA
```

Final referral link:

```
https://booking-nga.myshopify.com/collections/diamond?ta_aff=LAURA
```

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

#### What Happens After Editing

* The updated link is used for future clicks only
* Past orders and commissions are not affected
* Tracking continues automatically

***


---

# 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.jaka.app/shopify/affiliate-managment/manage-affiliates/edit-affiliate-referral-link.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.
