plans

Upsert billing product plan

put/plans/{plan_id}/billing_products

Path parameters

plan_idstring required

plan_id

Request body

billing_product_idstring nullable
billing_strategy'schematic_managed' | 'provider_managed' | 'no_billing'
charge_type'free' | 'none' | 'one_time' | 'recurring' required
currencystring nullable
is_trialableboolean required
monthly_priceinteger nullable
monthly_price_idstring nullable
one_time_priceinteger nullable
one_time_price_idstring nullable
quarterly_priceinteger nullable
quarterly_price_idstring nullable
trial_daysinteger nullable
yearly_priceinteger nullable
yearly_price_idstring nullable

Response

OK

paramsobject required

Input parameters

Changes

Changed in 2 of the 125 revisions of this API.23

    • added the new metronome enum value to the data/controlled_by response property for the response status 200

      response-property-enum-value-added

  • 9f854e7c7b1c13See the full diff
    • added the new none enum value to the data/charge_type response property for the response status 200

      response-property-enum-value-added

    • added the new optional request property billing_strategy

      new-optional-request-property

    • added the new none enum value to the request property charge_type

      request-property-enum-value-added

    • added the required property data/billing_strategy to the response with the 200 status

      response-required-property-added