Appearance
DoCurious API Reference / types / Coupon
Interface: Coupon
Defined in: types/coupon.types.ts:18
Promotional coupon
Extends
Properties
applicableChallengeIds?
optionalapplicableChallengeIds:string[]
Defined in: types/coupon.types.ts:27
code
code:
string
Defined in: types/coupon.types.ts:19
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
currentUses
currentUses:
number
Defined in: types/coupon.types.ts:24
description?
optionaldescription:string
Defined in: types/coupon.types.ts:22
expiresAt
expiresAt:
string
Defined in: types/coupon.types.ts:25
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
maxUses
maxUses:
number
Defined in: types/coupon.types.ts:23
minPurchaseAmount?
optionalminPurchaseAmount:number
Defined in: types/coupon.types.ts:28
status
status:
CouponStatus
Defined in: types/coupon.types.ts:26
type
type:
CouponType
Defined in: types/coupon.types.ts:20
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified
Inherited from
value
value:
number
Defined in: types/coupon.types.ts:21