Saltar al contenido principal
POST
Preview plan change
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
planId
string
requerido
Minimum string length: 1
billingInterval
enum<string>
Opciones disponibles:
weekly,
monthly,
quarterly,
semiannual,
yearly,
one_time
promoCode
string

Promo code whose Offer prices the change, validated with the checkout's rules: a code the checkout would refuse returns 400 validation_error with the checkout's reason in details.reason. Cannot be combined with offerId.

Minimum string length: 1

Respuesta

Success

success
any
requerido
data
object
requerido