# 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


---

# 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.conscent.ai/discount-coupon.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.
