Change Plan
POST /subscriptions/change-plan
Description
Change the plan of an existing subscription.
Authentication
Bearer Token
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {{token}} | Yes |
| Content-Type | application/json | Yes |
Request Body
{
"subscriptionId": "46722844-134d-497f-a7fc-8de69e4a786a",
"newPlanId": "636a3832-1b6d-44e4-9ad3-36e93a2fcc1c",
"upgrade": false
}
| Field | Type | Required | Description |
|---|---|---|---|
subscriptionId | string (UUID) | Yes | ID of the existing subscription |
newPlanId | string (UUID) | Yes | ID of the new plan |
upgrade | boolean | Yes | Whether this is an upgrade |