Saltar al contenido principal
POST
Publish plan draft
This reference describes API version 2026-05-18. Send Commet-Version: 2026-05-18 with your request.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Commet-Version
string
predeterminado:2026-05-18

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

Parámetros de ruta

id
string
requerido
draftId
string
requerido

Cuerpo

application/json
publishAs
string
requerido

current sells the draft to every new buyer.

Allowed value: "current"
move
enum<string>
predeterminado:keep
requerido

What happens to subscribers of earlier versions: keep them, move them at their next renewal, or move them now (features and balance change today, the price at renewal). Nobody moves unless every one of them fits or has a change below.

Opciones disponibles:
keep,
period_end,
now
changes
object[]
requerido

Per-subscriber changes that make each one fit, applied at its renewal.

preview
boolean
predeterminado:false
requerido

Check everything without publishing.

Respuesta

Success

success
any
requerido
data
object
requerido