Create a plan
Create a new plan with its tiers and items. The plan starts in draft status. Activate it before you sell or switch into it.
Autorisierungen
Organisation API token. Send it as Authorization: Bearer api_... The token is scoped to a single Organisation.
Body
Full representation of a plan. PUT replaces the plan as a whole: send every tier and item you want to keep, provide ids to keep existing rows stable, and omit rows you want removed.
Stable, Organisation unique identifier in lower kebab case, for example pro-plan.
1 - 64^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"pro-plan"
Display name of the plan.
1 - 255"Pro Plan"
The tiers of the plan, ordered by position. At least one tier is required.
1Antwort
The created plan.
"1280792f-4e23-793d-8e9c-3a1bf36630bd"
"pro-plan"
"Pro Plan"
Lifecycle status. A plan is created as draft, becomes active once you activate it, and can later be archived. Only active plans can be sold or switched into.
draft, active, archived Currency derived from the price plans, null when the plan has no items yet.
"EUR"