PATCH
Update Subscription

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri della query

workspaceId
string
obbligatorio

Corpo

application/json
returnUrl
string
obbligatorio
plan
enum<string>
obbligatorio
Opzioni disponibili:
CORE,
SCALE,
DEDICATED
forceCheckout
boolean
currency
string
replacePendingCheckout
boolean

Explicitly use the purchase-intent protocol. When enabled for the workspace, an unpaid previous offer/provider may be superseded; verified late funds require reconciliation and never activate a second plan.

Risposta

Default Response

workspace
object | null
checkoutUrl
string | null