A plan is named by its key: lowercase letters, digits and dashes, up to 40
characters (
growth, pro-annual). A workspace holds up to 12 plans.
The Plan object
monthly and yearly carry the product’s live price and its Stripe
state. A plan whose product
reads out_of_sync would charge a different amount than it shows; push the price
from Revenue › Billing page or by saving the product again.
Create a plan
POST /v1/plans
The product billed monthly, by id or exact name. It must be a monthly,
unmetered product.
"" clears it.monthlyProduct, yearlyProduct or
contactSalesUrl.
Change, remove and order plans
PATCH /v1/plans/{key} takes the same fields, all optional; omitted fields stay
as they are. DELETE /v1/plans/{key} removes the plan from the page and returns
{deleted: true}. Customers already on it keep their Stripe subscription.
POST /v1/plans/order takes every plan’s key, once, in the order customers see
them:
Errors
See Errors for the HTTP status each code maps to.