> 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/affiliate-coupons/advanced-settings/deactivate-affiliate-coupons.md).

# Deactivate Affiliate Coupon Codes

**GoAffPro** provides you with the option to disable affiliate coupons that are created within the app.

To disable coupons that are assigned to the affiliates, go to the **Discounts** section in the Shopify dashboard panel.

<figure><img src="/files/8WhzmucyaYGjUOQ7VS3m" alt=""><figcaption><p>Discounts</p></figcaption></figure>

Here, click on the **GOAFFPRO** code.

<figure><img src="/files/JIwtB9C6gKn7P8rbyI8f" alt=""><figcaption><p>Click on the GOAFFPRO code</p></figcaption></figure>

This will open up the GOAFFPRO code's settings page.

<figure><img src="/files/Plif3TP7mMdFlcQX6JxI" alt=""><figcaption><p>GOAFFPRO code settings</p></figcaption></figure>

Now, click on **Deactivate**.

<figure><img src="/files/bvdzMgHwh4h8H5DzY6PT" alt=""><figcaption><p>Click on Deactivate.</p></figcaption></figure>

After this, click on **Deactivate** to confirm it.

<figure><img src="/files/Gav4wm7WZgQsPQbFyQdD" alt=""><figcaption><p>Click on Deactivate to confirm it</p></figcaption></figure>

Finally, all the coupon codes created by the GoAffPro app will become inactive.&#x20;

{% hint style="info" %}
You can activate the coupon codes back again, by clicking on **Activate**.
{% endhint %}

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

{% embed url="<https://youtu.be/ezCC84ofZo8>" %}
Disable Affiliate Coupon Codes
{% 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, and the optional `goal` query parameter:

```
GET https://docs.goaffpro.com/affiliate-coupons/advanced-settings/deactivate-affiliate-coupons.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.
