# Assign coupons to affiliates

There are **two ways** to assign a coupon to an affiliate: automatically and manually.

* To **automatically** generate coupons for your affiliates, please read [this document](https://affiliateapp-docs.secomapp.com/set-up/settings/auto-generate-coupon).
* To **manually** assign coupons, open the app and go to **Motivation** > **Coupons** > **Manage coupons**  > **Add coupon.** There are 2 options: **Add a new coupon** or **Use an existing coupon.**

### **Add a new coupon**

<mark style="color:red;">UpPromote</mark> helps you create a discount code within the app and assign that code to an affiliate.

Follow the steps below to create and assign a coupon to an affiliate within <mark style="color:red;">UpPromote</mark>:

1. Select an affiliate that you want to assign a new coupon to.&#x20;

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FnefvyOgJUGpkyExf5YCf%2Fimage.png?alt=media&#x26;token=1edfe1e3-4329-4ced-9b0e-e39a1a300241" alt=""><figcaption></figcaption></figure>

2. Enter the coupon name in the **Coupon code** section. Make sure that it is different from any existing codes in your Shopify discounts.&#x20;
3. Choose a **discount type** for the coupon.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FtEOPUAvhikUAUnR7PCA7%2Fimage.png?alt=media&#x26;token=a81b9f45-743d-45a1-bd28-efe01c8834c4" alt=""><figcaption></figcaption></figure>

There are 3 types:

* **Order discount**: give customers a discount on an entire order.
* **Product discount**: give customers a discount that is applied to specific products/collection
* **Free shipping**: offer free shipping to customers in all or specific countries.

4. Set discount value for the coupon.

* If you choose the **Order discount** type, set a fixed value or a percentage off an order.
* If you choose the **Product discount** type, set a fixed value or a percentage off the products or collections. You then need to choose *specific products* or *collections* that are eligible for the discount.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FUm6Zi06GdZUJrnh0M2EU%2Fimage.png?alt=media&#x26;token=ca95d051-ab02-47d0-af6d-cc699095151b" alt=""><figcaption></figcaption></figure>

* If you choose the **Free shipping** type, you can leave *All countries* selected or choose *specific countries* that you want the coupon to apply to. There’s no need to set a discount value for this discount type.

5. *(Optional)* To allow the coupon to be used in combination with other Shopify discounts on the same order, you can select discount types to combine in the **Combinations**:

* If your coupon is **Product discount** or **Order discount**, you can select to combine it with other **Product discounts**, **Order discounts** and **Free shipping discounts.**

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FDmnliUXormgFHnNIEyDI%2Fimage.png?alt=media&#x26;token=e3cff8c9-4427-466c-831d-12d3c3038bdd" alt=""><figcaption></figcaption></figure>

* If your coupon is **Free shipping**, you can only select to combine it with other **Product discounts** and **Order discounts**.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FgR9PRvY7bXcYUpwsnhWD%2Fimage.png?alt=media&#x26;token=1a7abba1-fc7e-4adc-b5aa-9d23b5e5b2e5" alt=""><figcaption></figcaption></figure>

6. *(Optional)* If you want to set a minimum purchase requirement for the coupon, you can select an option in the **Minimum purchase requirements** (Minimum purchase amount or Minimum quantity of items):

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FCXnrxCttHKOLuiMevVM6%2Fimage.png?alt=media&#x26;token=c64187a7-64ab-4b11-8e1b-3e60ebfa6fb3" alt=""><figcaption></figcaption></figure>

* Select **Minimum purchase amount** to require customers to spend a minimum purchase amount to use the discount.&#x20;
* Select **Minimum quantity of items** to require customers to purchase a minimum number of products to use the discount.&#x20;
* If you don’t need any purchase requirements, leave it as **No minimum requirements**.&#x20;

7. *(Optional)* To limit coupon usage, check **Limit to one use per customer** to limit the coupon to one use per customer by tracking a customer's email address or phone number.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FLobeLmb4YrZwg2W9oKcs%2Fimage.png?alt=media&#x26;token=091bf18b-9593-46d8-add1-4efe201f7e2e" alt=""><figcaption></figcaption></figure>

8. After you have finished setting up, you can check on the rules again under the **Summary** section. And you can also leave some **Note for affiliate** with a description/instruction for the coupon.&#x20;

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FfGPH8vabsLrQm0vZv6kI%2Fimage.png?alt=media&#x26;token=4aab5ca3-534d-4ae2-bd41-6145c4b4e3c1" alt=""><figcaption></figcaption></figure>

9. When you're finished, click **Save** to save the newly created coupon. Our system will also sync it to your Shopify admin. If you want to edit its settings in the future, you can do that in the **Discounts** section of your Shopify admin.&#x20;

### Use an existing coupon

If you want to set up complicated rules for a coupon code, you should choose this optio&#x6E;**.**

1. Firstly, please make sure you have created a discount code via your **Shopify admin** by going to **Discounts** > **Create discount.**

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FWGMPOCjaNuIw5jO6gVsI%2FScreenshot_4.png?alt=media&#x26;token=5a549eb6-abbb-41b8-99b4-8401e4b4526c" alt=""><figcaption></figcaption></figure>

2. The *affiliate's name* and the *coupon code* are required. Make sure you enter the exact discount code created via the **Discounts** section on your **Shopify admin page**.&#x20;

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2F6DBfjEddxA9r8rjuK5gU%2Fimage.png?alt=media&#x26;token=338fa217-b8fc-49a4-b60e-784975bb84f6" alt=""><figcaption></figcaption></figure>

3. Click **Save** to finish assigning the coupon.

## **Coupon use**

After a coupon code is assigned to an affiliate, an email will automatically be sent to the affiliate informing them about the new coupon code. The merchant can edit this email by going to **Outreach > Emails > Manage emails > New coupon.**&#x20;

Besides, the coupon will also be shown on the affiliate's dashboard as below:

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FnRr1NLntRX0Y0WtUQon2%2Fimage.png?alt=media&#x26;token=5fc9a543-a8a8-4372-95ff-2707bd94afc4" alt=""><figcaption></figcaption></figure>

When a customer purchases from your shop using a coupon code, that order will be counted as a referral order. The **customer will get the discount** while the **affiliate will get the commission** from that order.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FiII92GqApB51tp6Ibvcb%2FScreenshot_6.png?alt=media&#x26;token=e9eb4ab6-00b5-47dd-b4cf-5499d345e3b7" alt=""><figcaption></figcaption></figure>

The commission for referral orders using the coupon code will be calculated based on the order **value after applying the coupon**.

![Join our community HERE.](https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FlyT1QUmE3bFVP8Nu9kW3%2Fimage.png?alt=media\&token=c14b8aad-2ae3-465c-9d7b-01b1a0d1a21a)
