v5

OpenAPI 3.1.02026-08-025631,1012.8 MB
Organization Billing

Apply Promo

Apply a promo code to the organization's active subscription.

Every failure carries a reason (invalid / expired / exhausted / product mismatch / no subscription) — never a silent no-op.

post/v1/organizations/billing/apply-promo

Request body

codestring required

Response

Successful Response

appliedboolean required
codestring required
percent_offnumber nullable
amount_off_centsinteger nullable
durationstring nullable
duration_in_monthsinteger nullable
expires_atinteger nullable