# Discounts

The **Discounts** feature allows you to create and manage discount campaigns using **coupon codes**, apply usage restrictions, and let customers enter coupons directly during checkout.

### 1. Discount List

The discount list helps you manage all created discounts.

<figure><img src="/files/46jBcWpMEIPeaRyyPkCd" alt=""><figcaption></figcaption></figure>

From this screen, you can:

* View discount status: **Active**, **Scheduled**, **Expired** or **Disabled.**
* Filter discounts by **Status** and **Date range**

<figure><img src="/files/jgN23fGCDsDAFPjASRI3" alt=""><figcaption></figcaption></figure>

* Search by **Discount name**
* Select one or multiple discounts to **change status** to **Active** or **Disable**
* Delete selected discounts when they are no longer needed

<figure><img src="/files/IDNiAeYv8cmy9MnwnYPx" alt=""><figcaption></figcaption></figure>

### 2. Add New Discount

You can create a new discount by clicking the **New Discount** button.

<figure><img src="/files/hwyoqCUX0kwDPpEi6ItG" alt=""><figcaption></figcaption></figure>

This section includes two tabs: **General** and **Usage Restrictions**, where you can configure the discount’s basic settings and apply specific conditions.

#### 2.1. General

In this section, you can set up the basic information for a discount.

<figure><img src="/files/VXjeysgSNEah7VR5kufX" alt=""><figcaption></figcaption></figure>

* **Discount Name:** Enter the name of the discount for internal management.
* **Coupon Code:** Enter a coupon code or click **Random** to generate one automatically. Customers will use this code to apply the discount during checkout.
* **Value:** Set the discount value as a **percentage (%)** or **fixed amount ($)**.
* **Total Coupons Code:** Define how many times this coupon can be used in total.

<figure><img src="/files/Z92TCou8CwLhy6kZWFxN" alt=""><figcaption></figcaption></figure>

* **Usage Limit Per Customer:** Set how many times a customer can use this coupon.

<figure><img src="/files/cVtU6tC2bMoDS53OTsU9" alt=""><figcaption></figcaption></figure>

* **Range Date:** Select the start and end date when the discount is valid.
* **Start Time / End Time:** Define the specific time range the discount is available within each day.
* **Repeat Weekdays:** Choose specific weekdays when the discount can be applied.

<figure><img src="/files/pbGQ1LdDjH7gMTgFW57a" alt=""><figcaption></figcaption></figure>

#### 2.2. Usage Restrictions

This section allows you to control where and for whom the discount can be used.

<figure><img src="/files/0fOsyceVKB86925CRPyU" alt=""><figcaption></figcaption></figure>

* **Service:** Select which services the discount applies to. Default: **All Services**
* **Location:** Select applicable locations. Default: **All Locations**
* **Agent:** Select applicable agents. Default: **All Agents**
* **Customer:** Select which customers can use the discount. Default: **All Customers**
* **Active:** Enable or disable the discount for booking.
* **Multiple Coupon:** Allow customers to apply this coupon together with another coupon.


---

# 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.yaycommerce.com/bookster/addons/discounts.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.
