Saltar al contenido principal
PUT
Update add-on
This reference describes API version 2026-06-07. Send Commet-Version: 2026-06-07 with your request.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Commet-Version
string
predeterminado:2026-06-07

API version used by this reference. Send this header to select this contract explicitly.

Parámetros de ruta

id
string
requerido

Cuerpo

application/json
name
string
Required string length: 1 - 100
description
string
Maximum string length: 255
basePrice
integer
Rango requerido: 0 <= x <= 9007199254740991
includedUnits
integer
Rango requerido: 0 <= x <= 9007199254740991
overageRate
integer
Rango requerido: 0 <= x <= 9007199254740991
planIds
string[]

Plans that sell the add-on, replacing the current ones. Empty means every plan; omitted keeps them. Removing a plan is rejected with addon_has_activations while a subscription of that plan has the add-on active.

Respuesta

Success

success
any
requerido
data
object
requerido