Skip to main content
PUT
/
api
/
v1
/
plans
/
versions
/
{plan_version_id}
/
minimum
Set or replace the plan-level minimum commitment for a draft plan version.
curl --request PUT \
  --url https://api.example.com/api/v1/plans/versions/{plan_version_id}/minimum \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "<string>",
  "scope": {}
}
'
{
  "amount": "<string>",
  "scope": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

plan_version_id
string<MeteroidId>
required

Plan version ID

Example:

"plv_7n42DGM5Tflk9n8mt7Fhc7"

Body

application/json
amount
string
required

Decimal string in the plan currency, e.g. "100.00".

scope
object
required

Every revenue line counts toward the floor.

Response

Minimum commitment saved

amount
string
required

Decimal string in the plan currency, e.g. "100.00".

scope
object
required

Every revenue line counts toward the floor.