Change plan
Upgrade, downgrade, or change billing interval.
Upgrade, downgrade, or change billing interval.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
1 <= length"monthly" | "quarterly" | "yearly"curl -X POST "https://commet.co/api/subscriptions/string/change-plan" \ -H "Content-Type: application/json" \ -d '{}'application/json
Upgrade, downgrade, or change billing interval.
{
"success": true,
"data": {
"requiresCheckout": true,
"checkoutUrl": "string"
}
}{
"success": false,
"code": "string",
"message": "string",
"details": null
}{
"success": false,
"code": "string",
"message": "string",
"details": null
}{
"success": false,
"code": "string",
"message": "string",
"details": null
}