# Referrals

When a customer makes a **purchase** via the **affiliate link** (or tracked by cookie after a while) or using an affiliate **coupon**, as long as that order is **marked as paid** on your Shopify store, a referral order will be recorded.

The system will send an email to the merchant to notify him about the referral order. The new referral order status will also be shown on the **Affiliate Referrals** tab for the merchant to review:

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2F2PAC1E1EkEeTvWVqFvVX%2FReferral%20list.png?alt=media&#x26;token=bd35c3dd-bce0-4996-9e9f-253e9f7fd579" alt=""><figcaption></figcaption></figure>

The merchant can either approve or deny that referral order.<br>


---

# 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/management/referrals.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.
