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?
optionalaccountId:number|null
Defined in: packages/sdk/src/types/generated/promo_code.ts:108
creditGrantId?
optionalcreditGrantId: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?
optionalorganizationName:string|null
Defined in: packages/sdk/src/types/generated/promo_code.ts:107
organizationUuid?
optionalorganizationUuid: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?
optionalsubscriptionId:number|null
Defined in: packages/sdk/src/types/generated/promo_code.ts:110