---
title: "Update company"
method: PATCH
path: "/api/v1/companies/company/{companyId}"
tags: ["Companies"]
---

# Update company

`PATCH /api/v1/companies/company/{companyId}`

This API endpoint updates the company property(s).

## Path parameters

- `companyId` string, required

## Request body

- CreateCompanyDto
  - `properties` PropertyItem[], required
    - `property` string, required
    - `value` string, required

## Response `200`

Entity given

- CompanyResponse
  - `data` CompanyModel, required
    - `_id` ObjectId, required
    - `owner` ObjectId, required
    - `properties` object, required
    - `source` 'crm' | 'insights' | 'linkedin-plugin' | 'linkedin-plugin-fastmode' | 'integration' | 'api' | 'import', required
    - `workspaceId` number, required
    - `search` ObjectId, required
    - `insightId` ObjectId, required
    - `linkedin` ContactLinkedin[], required
      - `id` string, required
      - `type` 'common' | 'sales', required
    - `deleted` boolean, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `keywords` string[], required
    - `foundedAt` number, required
    - `companyType` 'education' | 'government' | 'nonprofit' | 'private' | 'public', required

## Other responses

- `400` — Bad model
- `401` — Unauthorized user
- `404` — Entity not found

---

[API](https://skmtc.net/getprospect/apis/calls.md) · [All operations](https://skmtc.net/getprospect/apis/calls/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getprospect/calls/revisions/5211a12644da/schema)
