Skip to main content
PUT
/
contracts
/
{contractId}
/
plans
/
{contractPlanId}
/
change
Change contract plan
curl --request PUT \
  --url https://api.getenso.ai/contracts/{contractId}/plans/{contractPlanId}/change \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "startDate": "2026-05-01",
  "endDate": "2027-04-30",
  "PlanId": "200"
}
'
{
  "status": "success",
  "message": "Success",
  "data": {}
}
Not accessible by SystemUser role. Requires Admin.

Authorizations

Authorization
string
header
required

JWT bearer token obtained from POST /auth/system-login using your client credentials.

Path Parameters

contractId
string
required

Contract ID

contractPlanId
string
required

Contract Plan ID

Body

application/json
startDate
string<date>
required
Example:

"2026-05-01"

endDate
string<date>
required
Example:

"2027-04-30"

PlanId
string
Example:

"200"

Response

Success

status
string
Example:

"success"

message
string
Example:

"Success"

data
object

Endpoint-specific payload (object, array, or null)