# Edit/Delete coupon

## Edit a coupon code

**Edit coupon name and description:** You can change the name and description of a coupon code to update the affiliate with new instructions by going to **Motivation > Coupons > Manage coupons >** Edit coupon icon.

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

A popup will show up for you to edit the name and description:&#x20;

<figure><img src="/files/9MHq4VWdd1jFSgVsSXOX" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Edit coupon rules**: After a coupon code is assigned to an affiliate, it can only be edited in **Shopify Discounts**. You need to go to your Shopify discount > Search for the code and change the rules to your liking. The new rules will be synced to UpPromote immediately.&#x20;
{% endhint %}

## Delete a coupon code

You can delete a coupon code by going to **Motivation > Coupons > Manage coupons >** Delete coupon icon.

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

A popup will show up to confirm that you have two options: **delete the coupon code from UpPromote only** (the coupon code is no longer assigned to an affiliate but the customers can still use it on your store) or **delete the coupon code from both UpPromote and your Shopify discounts**.&#x20;

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


---

# 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.uppromote.com/motivation/coupons/edit-delete-coupon.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.
