Skip to main content
objectSubscriptionCoupon

Fields

amountsOff

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

discountValue
Float!
deprecated

Discount value of the coupon (deprecated)

Use percentOff or amountsOff fields instead
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

expirationDate
DateTime

The expiration date of this coupon

id
UUID!

Unique identifier for the entity

name
String!

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!

The unique identifier for the entity

startDate
DateTime

The start date of this coupon

Current status of the coupon

Type of the coupon (percentage or fixed amount)