---
title: "Update Company"
method: PUT
path: "/v1/public/companies/{company_id}"
tags: ["Companies"]
---

# Update Company

`PUT /v1/public/companies/{company_id}`

## Path parameters

- `company_id` string, required

## Request body

- PublicCompanyRequest
  - `external_id` string, nullable
  - `name` string, nullable
  - `address` string, nullable
  - `email` string, nullable
  - `phone_number` string, nullable
  - `url` string, nullable
  - `status` string, nullable
  - `allowed_in_store` boolean, nullable

## Response `200`

OK

- PublicCompanyResponse
  - `ok` boolean, required
  - `status` string, required
  - `external_id` string, nullable
  - `company_id` string, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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