Get Plan Comparison
GET/organizations/:organizationId/plans/compare
Compare current plan with target plan for downgrade warning (V2 API)
Request
Path Parameters
organizationId stringrequired
Organization ID
Query Parameters
targetPlan stringrequired
Target plan ID (lite, basic, professional, enterprise)
Responses
- 200
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
- Array [
- ]
data objectrequired
Plan comparison data
currentPlan objectrequired
targetPlan objectrequired
isDowngrade booleanrequired
featuresLost object[]required
limitChanges object[]required
recommendation object
{
"data": {
"currentPlan": {},
"targetPlan": {},
"isDowngrade": true,
"featuresLost": [
{}
],
"limitChanges": [
{}
],
"recommendation": {}
}
}
{}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The resource hasn't found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The resource hasn't found.
message stringrequired
The resource hasn't found message.
{
"error": "string",
"message": "string"
}
{
"error": "ResourceNotFound",
"message": "The requested resource could not be found."
}
Loading...
Was this page helpful?