Companies

Update a company's profile

Partial edit of the company profile: only the keys sent are written, and an empty string is treated as "not sent". Text fields are plain text; HTML markup is rejected with 422. fiscalYearEnd is the one field an explicit null clears (back to "not confirmed", #2736); a February year end has one stored spelling, so 02-29 is stored and returned as 02-28, meaning the last day of February; setting it to a date withdraws the open deferred onboarding fiscal-year question. Every change is recorded in the audit log with its previous and new value. Accountant-only state (clientStatus, metricsEnabled, view-only access confirmation) is ignored here and has its own accountant routes. API-key credentials are refused with 403.

patch/companies/{companyId}

Request

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

Path parameters

companyId, string uuid required

Request body

UpdateCompanyInput required

Partial company profile edit. Every key is optional; an empty string is treated as "not sent". Text fields must not contain HTML markup.

name, string

Company name. Trimmed; cannot be empty and cannot contain control characters.

entityType, string
industry, string
ein, string
yearFounded, integer
monthFounded, integer
state, string
website, string

An http(s) URL or a bare domain.

description, string
annualRevenue, string
monthlyExpenses, string
accountingMethod, string
fiscalYearEnd, string nullable

Fiscal year end as MM-DD; must be a real date (422 otherwise). An explicit null clears a stored value back to "not confirmed" (#2736); it is never defaulted to 12-31.

currentAccountingSoftware, string
revenueStreams, string[]
paymentProcessors, string[]
bankAccountCount, string
creditCardCount, string
hasCorporateCards, boolean
hasMercury, boolean
hasBrex, boolean
hasRamp, boolean
hasRho, boolean
payrollProvider, string
painPoint, string
chartOfAccountsNotes, string
migrationSource, string
migrationComplete, boolean
chartOfAccountsReviewed, boolean

Response

The updated company

CompanyResponse required
success, boolean
data, Company

Changes

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