Skip to main content
Update a plan

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the plan, which is its name reduced to a plain form.

Minimum string length: 1
Example:

"business"

Body

application/json
description
string | null

Free text describing what the plan stands for. It is catalogue information and drives nothing. At least one of description, edition and status must be provided.

Example:

"Everything in Pro, plus organization management and priority support."

edition
enum<string> | null

Commercial tier the plan belongs to. This too is catalogue information - it is not what decides an organization's permissions or its entitlement, which follow the edition held on the organization itself. At least one of description, edition and status must be provided.

Available options:
null,
pro,
business,
start
status
enum<string> | null

Whether the plan is on offer, still being prepared, or withdrawn from the catalogue. Setting a plan on a subscription is refused unless it is active, and withdrawing one leaves the subscriptions that already name it as they are. At least one of description, edition and status must be provided.

Available options:
null,
active,
archived,
draft

Response

Returns the plan as it now stands.

createDate
string<date-time> | null

When the plan was added to the catalogue.

description
string | null

Free text describing what the plan stands for. It is catalogue information and drives nothing.

Example:

"Everything in Pro, plus organization management and priority support."

edition
enum<string> | null

Commercial tier the plan belongs to. This too is catalogue information - it is not what decides an organization's permissions or its entitlement, which follow the edition held on the organization itself.

Available options:
null,
pro,
business,
start
id
string | null

Identifier of the plan, built from its name by lower-casing it and cutting it down to letters, digits and underscores. This is the value a subscription holds to say which plan it corresponds to.

Example:

"business"

modifyDate
string<date-time> | null

When the plan was last changed. It stays empty for a plan nobody has touched since it was added.

name
string | null

Name of the plan as it is offered, and the only part of it a person is normally shown. The synchronization with the commercial system matches the products sold there to plans by this name.

Example:

"Business"

stateChangeDate
string<date-time> | null

When the plan last took its current status. It is written whenever the status is set through this API, and stays empty for a plan brought in by the synchronization with the commercial system.

status
enum<string> | null

Whether the plan is on offer, still being prepared, or withdrawn from the catalogue. Setting a plan on a subscription is refused unless it is active.

Available options:
null,
active,
archived,
draft