# Coupon sets

> For the complete machine-readable documentation index, see [llms.txt](https://apidocs.chargebee.com/llms.txt).


A coupon set contains a bunch of coupon codes that can be redeemed by your customers when they are checking out. It belongs to an existing coupon and will usually be combined with other coupons that share similar promotion or discount offers. Using this resource, you can create, update, retrieve, delete coupon sets and add coupon codes to a coupon set.

## Sample Coupon set

```json
{
  "archived_count": 0,
  "coupon_id": "beta",
  "id": "cs_3RtyuIHol",
  "name": "Launch Promotion",
  "object": "coupon_set",
  "redeemed_count": 0,
  "total_count": 0
}
```

## Coupon sets attributes

## Input Parameters

- `id` (required, string, max chars=50)
  Uniquely identifies a coupon\_set

- `coupon_id` (required, string, max chars=100)
  Coupon id linked to coupon set

- `name` (required, string, max chars=50)
  Name of the coupon set

- `total_count` (optional, integer)
  No of coupon codes present in coupon set

- `redeemed_count` (optional, integer)
  No of redeemed codes

- `archived_count` (optional, integer)
  No of archived codes

- `meta_data` (optional, jsonobject)
  A collection of key-value pairs that provides extra information about the coupon set.
  
  **Note:** There's a character limit of 65,535.
  
  [Learn more](/docs/api/v2/pcv-1/advanced-features) .

