# Track Coupons

### 1. Purpose

Use this page to:

* Track all coupons issued through the referral program
* Identify which referrer owns each coupon
* Monitor coupon usage and status
* Search and filter coupons for auditing and reporting

<figure><img src="https://2542416993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbWGMufrTv5cry5wxEu35%2Fuploads%2FKpt4Nu8rIgvef0avrrYu%2Fimage.png?alt=media&#x26;token=09255240-9321-41e2-b284-3ada56e142b5" alt=""><figcaption></figcaption></figure>

***

### 2. Coupon Table

The coupon table provides a complete list of all generated referral coupons.

#### Key Fields

| Field             | Description                                            |
| ----------------- | ------------------------------------------------------ |
| **Coupon code**   | Unique discount or referral code                       |
| **Referrer**      | Customer who owns the coupon                           |
| **Description**   | Reward details (e.g. "$10 off", "20% discount")        |
| **Status**        | Current state of the coupon (Available, Used, Expired) |
| **Expiry date**   | Coupon expiration date or "No expiry"                  |
| **Used in order** | Order ID where the coupon was applied (if used)        |
| **Created at**    | Date and time the coupon was generated                 |

***

### 3. Coupon Status

Coupons can have the following statuses:

* **Available**\
  The coupon is active and can be used
* **Used**\
  The coupon has been applied to an order
* **Expired**\
  The coupon is no longer valid

***

### 4. Search and Filtering

#### Search

* Search coupons by **coupon code**
* Useful for quickly locating specific coupons

#### Filters

Use filters to refine the coupon list based on:

* Status (Available, Used, Expired)
* Referrer
* Creation date

***

### 5. Sorting

* Sort coupons by **Created at**
* Helps identify newest or oldest coupons

***

### 6. Notes

* Each coupon is linked to a specific **referrer**
* A coupon can only be used once unless configured in shopify admin
* Coupon usage is tied to order completion rules
* Expired coupons cannot be applied to new orders
