Update Plan Meter
Updates the included credits, pricing strategy, unit price or per-country prices of a meter attached to a plan.
PATCH
Update Plan Meter
Enabled per organizationUsage-based billing must be enabled for your organization before these endpoints accept requests. Contact your Yuno account manager to enable it. Requests from an organization where it is not enabled return
403 PRODUCT_NOT_ENABLED.credits, pricing_strategy, price_per_credit, country_prices. The same currency rules as Attach Meter to Plan apply. If the meter has been archived (INACTIVE) the metered price is frozen and this call returns 400 PLAN_METER_NOT_FOUND until the meter is reactivated.
PACKAGE/TIERED config is attach-time onlypackage_size, package_price, package_country_prices and tiers cannot be sent to this endpoint — any request containing one of them is rejected with 400 PLAN_METER_PRICING_CONFIG_UNSUPPORTED, regardless of the metered price’s current pricing_strategy. Switching pricing_strategy itself is validated against the metered price’s existing config for the target strategy; an unsupported switch is rejected rather than silently applied. To change a PACKAGE/TIERED config, attach a new meter instead — see the Usage-Based Billing guide.There is no detach endpoint. To stop billing a meter, archive it with Update Meter (
status: INACTIVE), or set credits high enough that no overage is billed.Authorizations
Headers
The account_id found in your Yuno Dashboard (UUID). Required — omitting it returns 400 BAD_REQUEST ("Invalid x-account-code header.").
Path Parameters
Body
application/json
Response
200