Skip to navigation

Update plan

View as Markdown
Rename a plan, change its description or features, or archive and restore it.

Authentication

x-api-keystring
Your API key, using a test key for the sandbox and a live key for production.

Path parameters

idstringRequired
Unique identifier of the resource.

Request

This endpoint expects an object.
namestringOptional<=255 characters
descriptionstringOptional<=2000 characters
featureslist of stringsOptional
statusenumOptional
Set to archived to stop new subscriptions to the plan, or active to restore it.
Allowed values:

Response

Subscription plan updated successfully.
messagestring
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error