Saltar al contenido principal
PUT
Update credit pack
This reference describes API version 2026-05-25. Send Commet-Version: 2026-05-25 with your request.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Commet-Version
string
predeterminado:2026-05-25

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
credits
integer
Rango requerido: 1 <= x <= 9007199254740991
price
integer
Rango requerido: 0 <= x <= 9007199254740991
isActive
boolean
planIds
string[]

Plans that sell the credit pack, replacing the current ones. Empty means every plan; omitted keeps them.

Respuesta

Success

success
any
requerido
data
object
requerido