Skip to main content

Change subscription plan

Enterprise Only

This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.

Payment Platform Required

This endpoint is only available if a payment platform (Stripe, Paddle, etc.) has been configured in Mixpost.

Method: PUT

URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/workspaces/{workspaceUuid}/subscription/change-plan

Authorization: Bearer <token>

Body:

{
"plan_id": 2,
"cycle": "yearly",
"prorate": true,
"billing_immediately": false
}
KeyFormatRequiredDescription
plan_idintegerrequiredThe ID of the new subscription plan defined in Mixpost Dashboard
cyclestringrequiredBilling cycle: monthly or yearly
proratebooleanrequiredWhether to prorate the subscription when changing plans
billing_immediatelybooleanrequiredWhether to bill the customer immediately for the plan change

Response:

{
"success": true
}