Admin API / Types
DiscountCodeStatus
EnumWhether buyers can use a discount code now.
enum DiscountCodeStatusValues
ACTIVE: Buyers who meet the terms of the code can use it.DEACTIVATED: The code is off: the seller turned it off, or created it off.EXPIRED:expiresAtis past.USAGE_LIMIT_REACHED:usageCountreachedusageLimit, or the code reached the spending limit set when it was created.