Skip to main content
GET
Get plan switch options

Autorisierungen

Authorization
string
header
erforderlich

Customer access token. Send it as Authorization: Bearer . Obtain it server side via POST /customers/{id}/authenticate (use the response accessToken), or from a customer portal session. The token must carry the customer:plan:switch permission.

Pfadparameter

id
string<uuid>
erforderlich

The subscription UUID.

Beispiel:

"1280792f-4e23-793d-8e9c-3a1bf36630bd"

Antwort

Current tier and reachable options.

currentTier
object
options
object[]

All tiers the subscription can reach from its current tier, each with a financial preview.