---
title: "Update channel"
method: PATCH
path: "/api/v1/channels/{id}"
tags: ["channels"]
---

# Update channel

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

Partially updates a channel by its identifier. The code is immutable.

## Path parameters

- `id` string, uuid, required

## Request body

- ChannelUpdate
  - `name` string
  - `type` 'MARKETPLACE' | 'ECOMMERCE' | 'POS' | 'TELEVENDAS' | 'WHATSAPP' | 'APP'
  - `active` boolean
  - `metadata` object, nullable

## Response `200`

Channel updated.

- ChannelUpdateResponse
  - `id` string, required
  - `code` string, required
  - `name` string, required
  - `type` 'MARKETPLACE' | 'ECOMMERCE' | 'POS' | 'TELEVENDAS' | 'WHATSAPP' | 'APP', required
  - `active` boolean, required
  - `metadata` object, nullable, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `400` — Request payload, query string, or path parameter failed validation.
- `401` — Authentication is missing, malformed, expired, or refers to a session that is no longer active.
- `403` — The caller is authenticated but lacks the required permission for this action.
- `404` — Channel not found in the caller account.
- `422` — The payload passed schema validation but breaks a domain invariant.
- `500` — Unexpected server error. The response body never leaks internal details.

---

[API](https://skmtc.net/kruzer-corp/apis/oms-api.md) · [All operations](https://skmtc.net/kruzer-corp/apis/oms-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kruzer-corp/oms-api/revisions/38ef6e16a7a8/schema)
