Skip to main content

Interface: PromoCodeRedemptionResponse

Defined in: packages/sdk/src/types/generated/promo_code.ts:102

One organization's use of one code — the campaign's attribution row.

Carries organization IDs and the uuid so the UI can deep-link to /admin/organizations, but no account email or member detail. The question this view answers is "which orgs did this campaign reach, and what did it cost", and linking beats duplicating personal data into a second surface.

Properties

accountId?

optional accountId: number | null

Defined in: packages/sdk/src/types/generated/promo_code.ts:108


creditGrantId?

optional creditGrantId: number | null

Defined in: packages/sdk/src/types/generated/promo_code.ts:109


creditsGranted

creditsGranted: number

Defined in: packages/sdk/src/types/generated/promo_code.ts:111


id

id: number

Defined in: packages/sdk/src/types/generated/promo_code.ts:103


organizationId

organizationId: number

Defined in: packages/sdk/src/types/generated/promo_code.ts:105


organizationName?

optional organizationName: string | null

Defined in: packages/sdk/src/types/generated/promo_code.ts:107


organizationUuid?

optional organizationUuid: string | null

Defined in: packages/sdk/src/types/generated/promo_code.ts:106


promoCodeId

promoCodeId: number

Defined in: packages/sdk/src/types/generated/promo_code.ts:104


redeemedAt

redeemedAt: string

Defined in: packages/sdk/src/types/generated/promo_code.ts:112


subscriptionId?

optional subscriptionId: number | null

Defined in: packages/sdk/src/types/generated/promo_code.ts:110