Update a plan
Replace a 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. An archived plan cannot be updated.
Autorisierungen
Organisation API token. Send it as Authorization: Bearer api_... The token is scoped to a single Organisation.
Pfadparameter
The plan UUID.
"1280792f-4e23-793d-8e9c-3a1bf36630bd"
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 updated 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"