# Delete Coupon from GoAffPro App Code

#### To delete a coupon code from the GoAffPro App code:

Go to the discounts section in the Shopify admin panel.&#x20;

<figure><img src="/files/2Cy1YKbISHhTjhp7SvYY" alt=""><figcaption><p>Shopify admin panel > Discounts</p></figcaption></figure>

Here, click on the **GOAFFPRO** code.&#x20;

<figure><img src="/files/Ikq1SscBVAnHcXOOf7sr" 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/oV6v9hDJ1IZaKBcJSEVp" alt=""><figcaption><p>GOAFFPRO code settings</p></figcaption></figure>

Here, click on **View all codes**.

<figure><img src="/files/5J5p2oQ5VLE56YyMyLPe" alt=""><figcaption><p>Click on View all codes</p></figcaption></figure>

Now, select the discount code.

<figure><img src="/files/zprZv3P5w4qHK5dFVH3T" alt=""><figcaption><p>Select the discount code</p></figcaption></figure>

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

<figure><img src="/files/zOyUT4ehhEjluabXxqHk" alt=""><figcaption><p>Click on Delete code</p></figcaption></figure>

Finally, click on **Delete**.

<figure><img src="/files/KmnLteyuMCEP0ZSOgSIT" alt=""><figcaption><p>Click on Delete</p></figcaption></figure>

The coupon will get deleted from the store.

{% hint style="info" %}
You can also do this if the app is adding random letters to the coupon code. After deleting the coupon from the GoAffPro app code, you can [assign the coupon code](https://docs.goaffpro.com/how-tos/assign-coupon-to-affiliate) to the affiliate within the app.
{% endhint %}

<figure><img src="/files/1aMiBJQ9vkJjXCmKfRtY" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/4GfY8BMgxHY>" %}
Delete Coupon from GoAffPro App Code
{% endembed %}


---

# 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.goaffpro.com/affiliate-coupons/advanced-settings/delete-coupon-from-goaffpro-app-code.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.
