Replace a plan
Full replacement of a plan’s version. On a draft plan, updates in-place.
On a published plan, creates a new version. Set status to DRAFT to
stage as a new draft without publishing.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Plan ID
"plan_7n42DGM5Tflk9n8mt7Fhc7"
Body
Optional plan-level period minimum commitment. Component scope must reference names
that exist in components (matched by name, not by ID, since component IDs are
assigned by the server). Use MinimumCommitmentInput so the client can express
scope by component name.
DRAFT, ACTIVE, INACTIVE, ARCHIVED Response
Plan updated
"plan_7n42DGM5Tflk9n8mt7Fhc7"
STANDARD, FREE, CUSTOM DRAFT, ACTIVE, INACTIVE, ARCHIVED "plv_7n42DGM5Tflk9n8mt7Fhc7"
Plan-level minimum commitment (period true-up floor). When set, every billing-period
invoice for this plan is guaranteed to be at least minimum_commitment.amount after
discounts, with a "Minimum commitment" line filling any shortfall.