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

Authorizations

x-api-key
string
header
required

Headers

Commet-Version
string
default:2026-06-23

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

Path Parameters

id
string
required

Body

application/json
newPlanId
string
Minimum string length: 1
newBillingInterval
enum<string>
Available options:
weekly,
monthly,
quarterly,
semiannual,
yearly
successUrl
string<uri>
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

Response

Success

success
any
required
data
object
required