# Manually Create Custom Coupons

**GoAffPro** provides you with the option to assign existing store coupons to affiliates.&#x20;

### Create the discount code

Open the Discounts section in the Shopify admin panel.

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

Here, click on **Create discount**.

<figure><img src="/files/l0RVsVP6aKDhdqu3kfUP" alt=""><figcaption><p>Click on Create discount</p></figcaption></figure>

Now, select the discount type.

<figure><img src="/files/74Pr1DM4t5K9q0GQ1lhZ" alt=""><figcaption><p>Select the discount type</p></figcaption></figure>

Next, set up the discount code settings.

{% hint style="info" %}
Set the discount code and discount value.
{% endhint %}

<figure><img src="/files/MtNgsGYSV1aNKd1WrlDV" alt=""><figcaption><p>Set up the discount code settings</p></figcaption></figure>

After this, click on **Save**.

<figure><img src="/files/PFZCEibidxMedOdakLHA" alt=""><figcaption><p>Click on Save</p></figcaption></figure>

The discount code will get created in the Shopify discounts section.

<figure><img src="/files/pwTB6BERAQR7LspkLD8C" alt=""><figcaption><p>The discount will get created</p></figcaption></figure>

### Assign the coupon to the affiliate

Go to the Coupons tab in the GoAffPro admin panel.

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

Here, click on **Assign coupon to affiliate**.&#x20;

<figure><img src="/files/kkogmp5frlfAkLeOO3IB" alt=""><figcaption><p>Click on Assign coupon to affiliate</p></figcaption></figure>

Now, select the affiliate.

<figure><img src="/files/EDfCWWXeIqxZJBjKEMni" alt=""><figcaption><p>Now, select the affiliate</p></figcaption></figure>

Next, choose the "Use existing store coupon" option.

<figure><img src="/files/JwJ5DsPeVsjB0iHG1ihC" alt=""><figcaption><p>Choose the "Use existing store coupon" option</p></figcaption></figure>

After this, set the coupon code.

{% hint style="info" %}
Enter the name of the coupon code, you created in the Shopify discounts section.
{% endhint %}

<figure><img src="/files/mypmwXoLXwuifPMVAYPN" alt=""><figcaption><p>Set the coupon code</p></figcaption></figure>

Now, select the discount type.

<figure><img src="/files/Fa5i3PeqdkyNNHlaF7KN" alt=""><figcaption><p>Select the discount type</p></figcaption></figure>

After this, set the discount amount.

<figure><img src="/files/6RzFa1iGrg5uLzcaoPhf" alt=""><figcaption><p>Select the discount amount</p></figcaption></figure>

Finally, click on **Submit**.

<figure><img src="/files/GRXelMjvJzvdNKrmJOXb" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

The store coupon will get assigned to the affiliate within GoAffPro.&#x20;

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

{% embed url="<https://youtu.be/ZFY2nAi9SZk>" %}
Create Custom Coupons for Affiliates
{% 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/assign-coupon-to-affiliate/assign-custom-coupons/manually-create-custom-coupons.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.
