Skip to main content
PUT
Update an existing discount

Authorizations

Authorization
string
header
required

Token de sesión Better Auth para rutas de backoffice; las rutas de portal usan su token propio.

Path Parameters

id
string
required

Discount UUID

Body

application/json
subscription_ids
string[]

Array of subscription UUIDs for multi-subscription discounts

motivo_descuento_id
string

Motivo descuento UUID

motivo_otro
string

Custom reason text

tipo_descuento
enum<string>

Discount type

Available options:
porcentaje,
monto_clp,
monto_uf
valor
number

Discount value

periodo_inicio
string

Start period in YYYY-MM format

duracion_meses
number

Duration in months

Response

Discount updated successfully