# Discount & Promo Codes

{% hint style="info" %}
The process of creating and implementing discounts and promo codes is identical for both tickets and memberships.
{% endhint %}

#### **Step 1: Sign into the** [**Moongate Merchant Portal**](https://portal.moongate.id)

[**https://portal.moongate.id/**](https://portal.moongate.id/)

#### Step 2: Navigate to the Target Event or Membership Page

#### Step 3: Navigate to the Discount & Codes Tab

Go to the "③ Tickets" or "③ Tiers" page within the chosen event/membership page respectively, and then click on the "Discount & Codes" tab. From here you can add new time-based discounts and promo codes.

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

#### Step 4: Add a Time-based Discount/Promo Code

A time-based discount enables **all** users to purchase tickets/membership at a discounted price for a limited time only.&#x20;

A promo code enables **only users with the code** to purchase tickets/memberships at a discounted price for an unspecified period of time.

{% tabs %}
{% tab title="Time-based Discount" %}
**Step 1: Click "Add New"**

<figure><img src="/files/4iTTkFYfilVQr6CuxgHe" alt=""><figcaption></figcaption></figure>

**Step 2: Select a Ticket Type/Membership Tier to Discount**

In the following window, select the ticket type/membership tier to apply a discount to.

<div align="left"><figure><img src="/files/xyV3876e2nPinsAKTtjt" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 3: Set the Discounted Price**

<div align="left"><figure><img src="/files/lANYMWEpfpeYtre7mWVZ" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 4: Set the Discount End Date**

Click the calendar icon in the "End Date" field to open the date picker. Select a date for the discount period to end. The discount period will run from the current date to the selected date.

<div align="left"><figure><img src="/files/1i76Xi7YzEX0wLT7XhHj" alt="" width="563"><figcaption><p>Click “Add” when complete. Your discount period is now in effect until the selected date.</p></figcaption></figure></div>

#### **Step 5:** Prematurely end discount period (optional)

Click "Add" to save. Your discount period is now in effect until the selected date.

<div align="center"><figure><img src="/files/iSYxrYX4Wy9NwoKw4olU" alt="" width="563"><figcaption></figcaption></figure></div>

The promotional period can be cut short by deleting the discount from the ticket type/membership tier. From the Discount & Codes Tab, click the action button for the target time-based discount, “Edit”, and then “Delete” on the following window.
{% endtab %}

{% tab title="Promo Code" %}
**Step 1: Click "Add New"**

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

**Step 2: Select a Ticket Type/Membership Tier to Discount**

In the following window, select the ticket type/membership tier to apply a discount to.

<div align="left"><figure><img src="/files/av8lQx3MLPpI22D6mnbw" alt="" width="563"><figcaption></figcaption></figure></div>

#### **Step 3:** Enter a discount percentage

<div align="left"><figure><img src="/files/ov3ZUzxYjPJOsg8yjAVF" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 4: Manually generate or bulk generate promo codes**

If you are adding a small number of codes or your campaign requires a specific promotional code, select “Manual.” Otherwise, select “Bulk Generate” to automatically generate codes.

* **Manual**

Enter the desired promo code. If applicable, add a maximum number of times that the code can be used by clicking the “Usage Limit” toggle and entering the quantity. Click “Add” when complete. The promo code is now activated.

<div align="left"><figure><img src="/files/P1Qe9lDa9KJ4wLxV6A5M" alt="" width="563"><figcaption></figcaption></figure></div>

* **Bulk Generate**

Enter the desired quantity of promo codes to be randomly generated. If applicable, add a maximum number of times that each code can be used by clicking the "Usage Limit" toggle and entering the quantity. Click "Add" when complete. The promo code is now activated.

<div align="left"><figure><img src="/files/a5OdnVxStJPewbbq3Tts" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 5: Delete promo codes**

From the Discount & Codes Tab, click the action button for the target discount code, “Delete,” and then “Confirm” on the following window.

<div align="left"><figure><img src="/files/W8DwwX8U7QEMUrQKq8ek" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 6: Create a direct discount code link (optional)**

Customers can be sent directly to the checkout page with a discount code already applied to their cart. To do so, simply append `/checkout?code=(your-discount-code)` to the back of your event’s URL, where `(your-discount-code)` is a valid and currently active discount code.

<div align="left"><figure><img src="/files/BzIJFZs7jgOyBffL4zvc" alt="" width="563"><figcaption><p>An example URL would be formatted as follows: <a href="https://app.moongate.id/events/moongatedemo/checkout?code=placeholder-code">https://app.moongate.id/events/moongatedemo/checkout?code=placeholder-code</a>.</p></figcaption></figure></div>
{% endtab %}
{% endtabs %}


---

# 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.moongate.id/merchant-guide/distribution/discount-and-promo-codes.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.
