Plans
Publish a plan
Promotes the most recent draft version of the plan to isLatest=true, demotes the previous published version. Optionally migrates existing customers’ features or pricing. Fails with 400 if no price exists or required currencies are missing.
POST
Publish a plan
Click the base URL in the API playground and select the Sandbox host for test data or the Production host for live data. Use credentials from the same environment.
Authorizations
The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'
Path Parameters
Plan identifier.
Body
application/json
Response
Plan published.
Example:
"published"