Skip to main content
PUT
Replace a plan

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plan_id
string<MeteroidId>
required

Plan ID

Example:

"plan_7n42DGM5Tflk9n8mt7Fhc7"

Body

application/json
components
object[]
required
currency
string
required
name
string
required
add_ons
object[]
billing
object | null
description
string | null
entitlements
object[]

Entitlements to attach to this plan's version. Replacing a published plan creates a new version, and entitlements belong to a version, so passing them here keeps them attached to whichever version the call produces.

minimum_commitment
object | null

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.

status
enum<string> | null
Available options:
DRAFT,
ACTIVE,
INACTIVE,
ARCHIVED
tax_inclusive
boolean

The plan's amounts are quoted tax-included ("9.99 incl. VAT"): tax is carved out of them at invoice time instead of being added on top, so the customer pays the quoted price whatever rate applies. A customer who bears no tax (reverse charge, exempt, export) still pays it in full. Defaults to false.

trial
object | null

Response

Plan updated

available_parameters
object
required
created_at
string<date-time>
required
currency
string
required
id
string<MeteroidId>
required
Example:

"plan_7n42DGM5Tflk9n8mt7Fhc7"

name
string
required
net_terms
integer<int32>
required
plan_type
enum<string>
required
Available options:
STANDARD,
FREE,
CUSTOM
price_components
object[]
required
product_family
object
required
status
enum<string>
required
Available options:
DRAFT,
ACTIVE,
INACTIVE,
ARCHIVED
tax_inclusive
boolean
required

The plan's amounts are quoted tax-included ("9.99 incl. VAT"): tax is carved out of them at invoice time instead of being added on top, so the customer pays the quoted price whatever rate applies. A customer who bears no tax (reverse charge, exempt, export) still pays it in full. Defaults to false.

version
integer<int32>
required
version_id
string<MeteroidId>
required
Example:

"plv_7n42DGM5Tflk9n8mt7Fhc7"

billing_cycles
integer<int32> | null
description
string | null
entitlements
object[]
minimum_commitment
object | null

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.

period_start_day
integer<int32> | null
self_service_rank
integer<int32> | null
trial
object | null