---
title: "Company update"
method: PATCH
path: "/api/v1/companies/{id}"
tags: ["companies"]
---

# Company update

`PATCH /api/v1/companies/{id}`

## Request

- Base URL: `https://www.foxnfe.com.br`
- URL: `https://www.foxnfe.com.br/api/v1/companies/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- PatchApiV1CompaniesIdRequest
  - `cnpj` string
  - `razao_social` string
  - `nome_fantasia` string, nullable
  - `inscricao_estadual` string, nullable
  - `inscricao_municipal` string, nullable
  - `crt` 1 | 2 | 3 | 4
  - `endereco` object, nullable
    - `logradouro` string
    - `numero` string
    - `bairro` string
    - `municipio` string
    - `uf` string
    - `cep` string
  - `nfe_serie_padrao` integer
  - `nfe_ambiente` 1 | 2
  - `cnae_principal` string, nullable
  - `is_default` boolean
  - `dry_run` boolean

## Response `200`

Resposta implementada pelo controlador.

- unknown

## Other responses

- `404`: Resposta implementada pelo controlador.
- `default`: Resposta implementada pelo controlador.

---

[API](https://skmtc.dev/foxnfe/apis/fox-nf-e-api.md) · [All operations](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/revisions/8820a6e016b0?raw)
