Admin API / Types

DiscountCodeStatus

Enum

Whether buyers can use a discount code now.

enum DiscountCodeStatus

Values

  • 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: expiresAt is past.
  • USAGE_LIMIT_REACHED: usageCount reached usageLimit, or the code reached the spending limit set when it was created.

Returned by