---
search:
  tags:
    - Companies
    - PATCH
seo:
  description: >-
    Update a single company (name, logoUrl, isVip, primaryDomain, connections).
    At… Reference for the PATCH /companies/{companyId} endpoint in the Modem
    API.
sidebar:
  label: Update company
  badge: PATCH
title: Update company
type: openapi-operation
---
Update a single company (name, logoUrl, isVip, primaryDomain, connections). At least one field must be provided; omitted fields are left unchanged and null clears a nullable field.

`PATCH /companies/{companyId}`

**Request body** (`application/json`, required)

- `connections` (object)
- `isVip` (boolean)
- `logoUrl` (string<uri> | null)
- `name` (string)
- `primaryDomain` (string | null)

Request body example:

```json
{
  "connections": {
    "email": "string",
    "github": "string",
    "linkedin": "string",
    "phone": "string",
    "twitter": "string"
  },
  "isVip": true,
  "logoUrl": "http://example.com",
  "name": "string",
  "primaryDomain": "string"
}
```

**Responses**

- `200` — OK
- `400` — Invalid request (validation failed).
- `401` — Missing or invalid API key.
- `403` — The API key does not have access to this resource.
- `404` — The requested resource was not found.
- `409` — The request conflicts with an existing resource or idempotency operation.
- `429` — Rate limit exceeded.
- `500` — Internal server error.

Response example, 200:

```json
{
  "connections": {
    "email": "string",
    "github": "string",
    "linkedin": "string",
    "phone": "string",
    "twitter": "string"
  },
  "id": "string",
  "isVip": true,
  "logoUrl": "http://example.com",
  "name": "string",
  "primaryDomain": "string"
}
```
