> For the complete documentation index, see [llms.txt](https://docs.conscent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.conscent.ai/discount-coupon.md).

# Discount Coupon

### **Coupon Templates Overview:**

{% tabs %}
{% tab title="Static Coupons" %}

* **Single Code Use:** Static coupons are characterized by a single, unchanging coupon code for every customer.
  {% endtab %}

{% tab title="Dynamic Coupons" %}
**Types:**

1. **AUTO\_ACCEPT:** Allows clients to generate coupons based on a list of codes they provide.
2. **AUTO\_ALLOCATE:** Enables the automatic generation of coupons, with quantities specified by the client.&#x20;
3. **CSV Upload:** This enables the client to upload a CSV file containing coupon codes for storing in the database. The CSV file must have a header named 'codes' for effective coupon code creation and storage in the database.

**Pre-Generation:** Dynamic coupons can also be pre-generated (by prefix, suffix, and count parameters) and stored for future use. Each coupon generated will be 12 characters long.
{% endtab %}
{% endtabs %}

### Coupon Creation Process:

{% tabs %}
{% tab title="Static Coupon" %}

* **Single Coupon Code:** Clients define a unique coupon code, adhering to character limits and no-space rules.&#x20;
* **Usage Limits:** Setting a limit on how many times the static coupon can be redeemed.
  {% endtab %}

{% tab title="Dynamic Coupon" %}

* **Pre-Generation:** Dynamic coupons can also be pre-generated (by prefix, suffix, and count parameters) and stored for future use. Each coupon generated will be 12 characters long.&#x20;
* **AUTO\_ACCEPT Customization:**&#x20;

**Client-Provided Codes:** Clients upload a list of unique coupon codes, which the API uses to generate coupons.

**Coupon Characteristics:** Setting rules such as discount type, duration, and applicable subscriptions.

* &#x20;**AUTO\_ALLOCATE Customization:**&#x20;

**On-the-Fly Generation:** Allows clients to specify the number of coupons to be generated automatically by the API.

**Customization Options:** Setting prefixes, suffixes, and the number of random digits in the coupon codes.&#x20;

* **Pre-Generation and Storage:** Ability to pre-generate and store Dynamic coupons in the database
  {% endtab %}
  {% endtabs %}

**Enhanced Management Features:**

1. **Coupon Listing:** Displaying coupons in a card format with comprehensive statistics.&#x20;
2. **Data Filtering:** Options to filter by coupon type, redemption rate, and date ranges.&#x20;
3. **Coupon Actions:** Facilities to edit, delete, and toggle the active status of coupons.&#x20;
4. **API Ingestion and New Coupon Creation:** Initiating new coupon creation.

> **Note:**  Both Static and Dynamic coupons can be applied on the Subscription Landing Page (SLP) and Subscription Review Page (SRP), with features like auto-apply and removal options
