Billing
Update coupon
Limited update: only name, active, maxUses, validUntil can be changed (Stripe limitation). To change the code, discount, duration, scope or plans → delete and re-create. active is synced with the Stripe promotion code.
PATCH
Update coupon
Autorizações
Parâmetros de caminho
Corpo
application/json
Body for updating an existing coupon. Coupons are largely immutable post-creation; only name, active, maxUses and validUntil can change.
Activate or deactivate the coupon. Synced with the Stripe promotion code.
Exemplo:
true
New maximum total redemptions. Must be >= current redemption count.
Intervalo necessário:
x >= 1Exemplo:
200
New internal display name for the coupon.
Maximum string length:
100Exemplo:
"Welcome 10% off"
New end of the validity window.
Exemplo:
"2026-12-31T23:59:59Z"
Resposta
OK
Opções disponíveis:
percentage, fixed_amount Opções disponíveis:
once, repeating, forever Opções disponíveis:
hub, plans Update coupon

