Set a customer's stored business model and/or its additional-metrics list (accountant only)
Two independent halves (#1967). model pins the stored businessModel as an accountant override (businessModelOverride = model, businessModelSource = override); it is never null — a stored model is required and only an accountant's pick can replace a derivation. additionalMetrics replaces the customer's per-company metric-pack list and touches nothing else (a pack tick never changes the model, its override or its source). At least one of the two keys is required. Accountant-only; requires requireAccountantAccessToCompany guard.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
At least one of model / additionalMetrics is required; a null model is rejected with 422.
The business model to store as the accountant override. general is retired.
The complete list of additional metric packs enabled for this customer (duplicates dropped). Unknown ids are rejected with 422.
Response
Updated company with the stored businessModel/businessModelOverride/businessModelSource and additionalMetrics
Company object with businessModel, businessModelOverride, businessModelSource and additionalMetrics fields.
Changes
No recorded changes to this operation across all 110 revisions of this API.