> 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/setup-referral-coupons.md).

# Setup Referral Coupons

You can use the **Automatic Coupons** feature to generate referral coupons for your affiliates automatically. Your affiliates can share these coupons with their customers, who can use them at the store's checkout. Affiliates will earn commissions on sales made using their referral coupons.

* [Setup Automatic Coupons](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates)
* [Change Discount Type](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates/change-discount-type-for-automatic-coupons)
* [Change Discount Value](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates/change-discount-value-for-automatic-coupons)
* [Set Coupon Usage Limits](/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons/set-coupon-usage-limits.md)
* [Set Customer Segment](/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons/set-customer-segment.md)
* [Set Minimum Order Value](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates/set-minimum-order-value-for-coupons)
* [Set Minimum Cart Quantity](/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons/set-minimum-cart-quantity.md)
* [Limit Coupon Usage to Products](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates/limit-coupon-usage-to-products)
* [Limit Coupon Usage to Collections](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates/limit-coupon-usage-to-collections)&#x20;
* [Set Coupons to Combine](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates/set-coupons-to-combine)
* [Set Coupons to Apply to Subscriptions](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons-for-affiliates/enable-coupons-to-apply-to-subscriptions)
* [Generate Coupons for Existing Affiliates](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/generate-coupons-for-affiliates)
* [Change Style of Coupons](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/change-style-of-generated-coupons)
* [Create Coupon Template](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/create-coupon-templates)

Go to the **Coupons** > **Automatic Coupons** section of the GoAffPro admin panel.

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

{% embed url="<https://youtu.be/9egC6ZdPFlc>" %}
Automatic Coupons
{% endembed %}


---

# 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/setup-referral-coupons.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.
