| Name | Type | Description | Notes |
|---|---|---|---|
| coupon_id | int | [optional] | |
| user_id | int | [optional] | |
| label | string | This is the code a buyer would enter at checkout. | [optional] |
| discount | float | The discount to apply. Either a fixed value, or a decimal percent. Depends on the 'percent' field. | [optional] |
| percent | bool | If true, the 'discount' field represents a decimal percentage. If false, the 'discount' field represents an absolute $ USD value. | [optional] |
| all_content_types | string[] | A list of content types for which this coupon code applies to without requiring an entry. Eg. if you created the coupon with the 'All resources' option selected, this list will include "resource". | [optional] |
| created_at | int | A UNIX timestamp. | [optional] |
| expires_at | int | A UNIX timestamp. | [optional] |
| max_uses | int | [optional] | |
| max_per_user_uses | int | [optional] | |
| uses | int | [optional] | |
| active | bool | Whether or not the coupon code is active and can still be used at checkout. Accounts for the expiry date if set and the max use limit if set. | [optional] |