> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateCouponInput

> Create a new coupon input



**Kind**: `input`

## Fields

**`additionalMetaData`**: `JSON`

Metadata associated with the entity

---

**`amountsOff`**: `[MoneyInputDTO!]`

Fixed amount discounts in different currencies. Provide exactly one of percentOff or amountsOff — not both, not neither.

---

**`description`**: `String`

Description of the coupon

---

**`discountValue`**: `Float`

Discount value of the coupon (deprecated)

---

**`durationInMonths`**: `Float`

How many calendar months the discount applies for once redeemed, counted from when the coupon is applied (not tied to the subscription's billing period). Leave unset for a discount that lasts for the lifetime of the subscription.

---

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`name`**: `String!` (required)

Name of the coupon

---

**`percentOff`**: `Float`

Percentage discount off the original price. Provide exactly one of percentOff or amountsOff — not both, not neither.

---

**`refId`**: `String!` (required)

The unique identifier for the entity

---

**`type`**: `CouponType`

Type of the coupon (percentage or fixed amount)



## Related topics

- [PricingModelCreateInput](https://docs.stigg.io/graphql-reference/types/PricingModelCreateInput.md)
- [Create coupon](https://docs.stigg.io/api-reference/coupons/create-coupon.md)
- [OveragePricingModelCreateInput](https://docs.stigg.io/graphql-reference/types/OveragePricingModelCreateInput.md)
- [CreateOfferInput](https://docs.stigg.io/graphql-reference/types/CreateOfferInput.md)
- [CreateIntegrationInput](https://docs.stigg.io/graphql-reference/types/CreateIntegrationInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.