Change Plan

Moves one of your companies to a plan at a job tier, and returns the offering as it stands after the change (current is the new plan). Your key may change only your own companies, and only to a plan and job tier the company is offered: read GET billing/plan_offering for the company first, take job_tier_id from tiers[].id, and pick a plan from that tier's offers. The company does not need to be shown a plans page (the offering's mode may be request). A company billed directly by the platform rather than by you cannot be changed here. For a company whose owner bills by usage and has no job tiers, leave job_tier_id out and pick a plan from offered_plans. Users need the AccountManagement permission. Integration-partner keys are refused.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The identifier of the associated company.

Body Params
string
required

The plan to move to: one of the offering's offered_plans, sold at the job tier named in job_tier_id. Trial and legacy can never be moved to.

string

The job tier to move to, from the offering's tiers[].id. Required, except for a company whose owner bills by usage and has no job tiers: there it must be left out.

Responses

400

The company has not verified its email address yet.

401

The user does not have the AccountManagement permission.

403

Not authorized

404

The company is not one of yours, or is not an active, approved account.

500

Internal system error. Please contact support in the event that this occurs.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json