Forecast

Update an opex row

put/companies/{companyId}/forecast/{forecastId}/opex/{opexId}

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required
forecastId, string uuid required
opexId, string uuid required

Headers

X-Median-App-Surface, 'qa'

Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.

Request body

UpdateForecastOpexInput required
name, string
behavior, 'fixed' | 'pct_revenue' | 'per_head'
amountCents, integer nullable
pct, number nullable
position, integer

Response

Updated opex row

object required
success, boolean
data, ForecastOpex

Changes

No recorded changes to this operation across all 110 revisions of this API.