Skip to main content

Change Plan

POST /subscriptions/change-plan

Description

Change the plan of an existing subscription.

Authentication

Bearer Token

Request

Headers

HeaderValueRequired
AuthorizationBearer {{token}}Yes
Content-Typeapplication/jsonYes

Request Body

{
"subscriptionId": "46722844-134d-497f-a7fc-8de69e4a786a",
"newPlanId": "636a3832-1b6d-44e4-9ad3-36e93a2fcc1c",
"upgrade": false
}
FieldTypeRequiredDescription
subscriptionIdstring (UUID)YesID of the existing subscription
newPlanIdstring (UUID)YesID of the new plan
upgradebooleanYesWhether this is an upgrade