---
title: "Update a company"
method: PUT
path: "/companies/{id}"
tags: ["Companies"]
---

# Update a company

`PUT /companies/{id}`

## Path parameters

- `id` number, required

## Request body

- object
  - `name` string, required
  - `owner_id` number, required
  - `website` string
  - `phones` unknown[] — An array of phone objects. Each phone object should contain three keys: `number`, `extension`, and `type`, as described [here](#companies-create-a-phone) ``` [ { "number": <phone number with country code>, "extension": "<optional extension>", "type": "<phone number type>", } ] ```
    - unknown
  - `address` object — An object containing the address for the company with the following structure: ``` { "street": "<street>", "city": "<city>", "state": "<state>", "postal_code": "<postal code>" } ```
    - `street` string
    - `city` string
    - `state` string
    - `postal_code` string
  - `country_code` string
  - `entered_by_id` number
  - `social_media_urls` unknown[]
    - unknown
  - `notes` string
  - `is_hot` boolean
  - `key_technologies` string
  - `billing_contact_id` number
  - `custom_fields` unknown[] — An array of custom field objects. Each custom field object should contain two keys: `id` and `value`. `id` is the id of a custom field definition, and `value` is the value to be set to that custom field for this company. ``` [ { "id": <custom field definition id>, "value": "<custom field value>" } ] ```
    - unknown
  - `user_groups` unknown[] — User groups allowed to access this company
    - unknown

## Response `204`

No Content

---

[API](https://skmtc.net/catsone/apis/cats-api-v3.md) · [All operations](https://skmtc.net/catsone/apis/cats-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/catsone/cats-api-v3/versions/dedbbade450d/schema)
