> For the complete documentation index, see [llms.txt](https://docs.connected.events/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.connected.events/cookbook/host-your-event/create-an-event/coupon-variants.md). Agents can also search and read this documentation through its [MCP server](https://docs.connected.events/~gitbook/mcp).

# Coupon Variants

Bulk-generate coupons with shared settings to save time and ensure precise security and usage tracking.

## Introduction&#x20;

Maximize your promotional reach and protect your discounts by utilizing the [**Coupon Variants**](https://docs.connected.events/ATG4PvSjQCWE8uPjtGaH/wiki/events-module/registration#variants) feature. The Variants capability is designed for the mass creation of promotional codes. Instead of building individual codes one by one, administrators can generate multiple unique coupons that inherit the exact settings of a single parent coupon, saving significant administrative time. To ensure security and prevent the unauthorized sharing of a single, generic code, the system automatically assigns a random, unique, alphanumeric string to every new variant generated. You also retain full control to make mass updates across all your variants simultaneously by syncing changes directly from the parent coupon, or you can choose to edit single codes individually. This guide will walk you through the steps to successfully generate, update, and manage your bulk coupon variants.

## How to Create Coupon Variants

{% stepper %}
{% step %}

#### [Create a Parent Coupon](https://docs.connected.events/host-your-event/create-your-first-event.md#add-a-coupon-to-the-event-optional)

* Set the parent coupon's properties to establish the default behavior for its variants.
  {% endstep %}

{% step %}

#### Create Variants

* Navigate to the parent coupon.
* Select **"Variants"** from the slide out menu.
* Select **"Create Variants+"** on the top right of the slide out menu.
* Enter how many variants you wish to generate in the Quantity field.
* Select **"Create Variants"** to create the variants with the same settings as the parent coupon.&#x20;

<figure><img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2F4s7I7jv9RA8pjEt9wLOm%2Fcouponvariants.gif?alt=media&amp;token=f1537062-c78e-4925-9143-9e740af999d6" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Mass Update Variants

Changes made to the parent coupon are not automatically applied to existing variants. To update your entire list of variants at once, follow the below steps.

{% stepper %}
{% step %}

#### Edit the Parent Coupon

Modify the parent coupon settings; these changes will serve as the template for your variants.

* Navigate to the **"Coupons"** tab within the **Registration** tab on the main event menu.&#x20;
* Select the parent coupon you wish to edit variants for.
* Make desired edits.
* Select **"Update"** to finalize the edits.
  {% endstep %}

{% step %}

#### Sync to Variants

* Select **"Variants"** from the slide out menu.
* Select **"Sync to Variants."**&#x20;
* Select the fields you wish to sync to variants (e.g. Discount Amount, End Date, Use Limit etc.) or **"Select All."**&#x20;
* Select **"Sync To Variants"** to finalize the sync.

{% hint style="info" %}

#### **Pro Tip:**&#x20;

To restrict access to variants only, disable the parent coupon by toggling off the active setting within the Config tab or setting the pass limit to 0.&#x20;

**Important:** Ensure you **do not** sync this specific update to the variants so they stay active.
{% endhint %}
{% endstep %}
{% endstepper %}

## Edit Individual Variant&#x20;

For complete flexibility, you also have the option to edit individual variants to fit your unique use cases. If you need to customize a single variant within a batch, follow the steps below.&#x20;

{% stepper %}
{% step %}

#### Navigate to the Variant

* Select the parent coupon of the variant you wish to edit.
* Select the specific variant you wish to edit.
  {% endstep %}

{% step %}

#### Edit the Variant

* Select **"Details"** from the slide out menu to update the Code, Description, Discount Amount, Discount Percent, or Pass Type.
  * Select **"Update"** to finalize the edits.
* Select **"Restrictions"** from the slide out menu to update Pass Limit, Minimum and Maximum Quantity in Cart, Start and End Dates, Use Limit, Use Limit per Account, or Email Domains.
  * Select **"Update"** to finalize the edits.
* Select **"Config"** from the slide out menu to update Active/Inactive, Apply to Pass Type, Apply to Add-Ons, Apply to Reservation, Apply to Sessions, or Registration.
  * Select **"Update"** to finalize the edits.
    {% endstep %}
    {% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.connected.events/cookbook/host-your-event/create-an-event/coupon-variants.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
