FirmhouseDiscountCode
Properties
Property
Type
Description
code
string
The unique code that can be applied to a checkout
createdAt
string
When the discount code was created.
expired
boolean
Whether the discount code has already expired.
id
string
ID to identify the discount code with
maxTimesUsed?
null
| number
The max usage of this discount code
metadata?
unknown
Metadata makes it possible to store additional information on objects.
promotionId
string
ID of the promotion that is attached to the discount code
redeemable
boolean
Whether the discount code can be redeemed. Returns true only if related Discount is activated and Discount code has not expired.
updatedAt
string
When the discount code was updated last time.
Last updated