Skip to main content
POST
Publish plan draft
This reference describes API version 2026-06-07. Send Commet-Version: 2026-06-07 with your request.

Authorizations

x-api-key
string
header
required

Headers

Commet-Version
string
default:2026-06-07

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

Path Parameters

id
string
required
draftId
string
required

Body

application/json
publishAs
string
required

current sells the draft to every new buyer.

Allowed value: "current"
move
enum<string>
default:keep
required

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.

Available options:
keep,
period_end,
now
changes
object[]
required

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

preview
boolean
default:false
required

Check everything without publishing.

Response

Success

success
any
required
data
object
required