Update a plan
Update plan details like name, description, features, or billing interval.
Path parameters
Plan ID
Request body
Example request
{
"netPaymentTerms": 30,
"invoiceGracePeriodDays": 3,
"progressiveBillingThreshold": 1000
}Response
Plan updated
Example response
{
"id": "clx1234567890",
"name": "Premium Monthly",
"code": "premium_monthly",
"description": "Premium plan with all features",
"billingInterval": "MONTHLY",
"features": [
"Unlimited users",
"Priority support"
],
"isActive": true,
"billingTiming": "IN_ARREARS",
"minimumCommitment": "100.0000",
"prices": [
{
"id": "clx1234567890",
"planId": "clxplan123",
"currency": "USD",
"amount": "49.9900",
"isActive": true
}
]
}Changes
Changed in 1 of the 2 revisions of this API.8
- ○
added the new optional request property
billingTimingnew-optional-request-property
- ○
added the new optional request property
invoiceGracePeriodDaysnew-optional-request-property
- ○
added the new optional request property
netPaymentTermsnew-optional-request-property
- ○
added the new optional request property
progressiveBillingThresholdnew-optional-request-property
- ○
added the new
DAILYenum value to the request propertybillingIntervalrequest-property-enum-value-added
- ○
added the new
HOURLYenum value to the request propertybillingIntervalrequest-property-enum-value-added
- ○
added the new
WEEKLYenum value to the request propertybillingIntervalrequest-property-enum-value-added
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○