> 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/update-coupon-codes.md).

# Update Coupon Codes

**GoAffPro** provides you with the option to update affiliate coupon codes.&#x20;

> You need to update the affiliate coupon codes after making any changes to the coupon code settings. You will have to recreate the existing affiliate coupon codes to apply those settings.

To update affiliate coupons, go to the **Coupons** tab in the GoAffPro admin panel.

<figure><img src="/files/YQH0LHBQf4MrvTNd03TL" alt=""><figcaption><p>Coupons</p></figcaption></figure>

Here, click on **Change** in the Automatic Coupons section and make the change in coupon settings.&#x20;

![Click on Change > Make the change in coupon settings](/files/-MVM1v9cArWiV4WQhf84)

#### Delete Existing Coupon Codes

Now, click on **Bulk actions**.

![Click on Bulk actions](/files/-MVLzLG_4TqhkwTnANmw)

Click on **Toggle select all**.

![Click on Toggle select all](/files/-MVLzaIxcbgxktovuW6M)

After this, click on **Delete selected**.

![Click on Delete selected](/files/-MVM-49Q2lQMt2lRPIru)

Click on **Confirm**.

![Click on Confirm](/files/-MVM0JYlGeb1kSF5gEfY)

#### Recreate the Coupon Codes

After this, click on **Create for existing affiliates**.

![Click on Create for existing affiliates](/files/-MVM0ZDesQEX0yN7yq4X)

This will open up the Generate Coupons section.

![Generate Coupons](/files/-MVM0cUJDbmkIM0ohZEu)

Here, select the affiliates.

![Select the affiliates](/files/-MVM0u-7TDA4V9N-Fcw9)

Now, click on **Generate Coupons**.

![Click on Generate Coupons](/files/-MVM1CHBknEsLTAa-KNM)

Finally, the coupons with the updated settings will be recreated. &#x20;

![](/files/-MVM1RGa6lL7JCF3JSTK)


---

# 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/update-coupon-codes.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.
