# Affiliate Links

{% hint style="info" %}
If you are simply part of an affiliate program and you would like to use your affiliate code inside your groups notifications then please open a support ticket in the [Discord server](https://discord.com/invite/pR2RzwRbwS) and make a request and it will be added.
{% endhint %}

## Adding an affiliate link

Use this command to add your own affiliate link for an item you monitor. To add your affiliate link you need to use the `affiliate links add` command. This command requires the name of the store, the SKU of the item you would like to add the your own affiliate link for and the affiliate link you would like to add. Example:

```
!m affiliate links add target 85978612 https://bit.ly/custom
```

{% hint style="info" %}
You can add affiliate links for items you early monitor by adding \`early\` to the store name. Example:\
!m affiliate links add targetearly 85978612 <https://bit.ly/custom>
{% endhint %}

## Removing an affiliate link

Use this command to remove an affiliate link you have previously added. To remove an affiliate link you need to use the `affiliate links remove` command. This command requires the name of the store and the search terms you would like to remove the forwarding rule for. Example:

```
!m affiliate links remove target 85978612
```

## View added affiliate links

You can view a list of all the affiliate links you have added for each store using the `affiliate links running` command. This command only requires the name of the store. Example:

```
!m affiliate links running target
```

## Remove all affiliate links for a specific store

You can remove all of the affiliate links added for a store using the `affiliate links clear` command. This command only requires the name of store.

```
!m affiliate links clear target
```


---

# 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.tempomonitors.com/monitor-customization-commands/affiliate-links.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.
