Skip to main content

Type Alias: PromoCodeStatus

PromoCodeStatus = typeof PromoCodeStatus[keyof typeof PromoCodeStatus]

Defined in: packages/sdk/src/types/generated/promo_code_service.ts:17

What an operator sees in the admin list for a campaign's current state.

Derived from validate_code_window rather than recomputed, so the badge can never disagree with what a customer entering the code actually experiences. An admin UI that says "Active" for a code the redemption path rejects is worse than no badge at all — it sends the operator to debug the customer instead of the campaign.