---
title: "Update a department"
method: PATCH
path: "/v1/partner/customers/{customerId}/departments/{departmentId}"
tags: ["Customer Departments"]
---

# Update a department

`PATCH /v1/partner/customers/{customerId}/departments/{departmentId}`

Partially update a department by its ID.

Only supplied fields are updated. If field is not provided, the existing value is preserved.

Returns `200` with the full `DepartmentItem` on success.

## Path parameters

- `customerId` string, uuid, required
- `departmentId` string, uuid, required

## Request body

- V1DepartmentsPatchRequest
  - `name` string, nullable — Department name. If omitted, existing name is preserved.
  - `code` string, nullable — Department code. If omitted, existing code is preserved.
  - `description` string, nullable — Department description. If omitted, existing description is preserved.

## Response `200`

Department updated successfully

- DepartmentItem
  - `id` string, uuid — Department ID (UUID).
  - `code` string, nullable — Department code
  - `name` string — Department name
  - `description` string, nullable — Department description
  - `createdAt` string, date-time — Timestamp when the department was created (ISO 8601)

## Other responses

- `401` — Authentication required
- `403` — Forbidden - insufficient permissions
- `404` — Resource not found
- `422` — Unprocessable entity - validation error
- `500` — Internal server error
- `503` — Service unavailable - upstream dependency error

---

[API](https://skmtc.net/usemultiplier/apis/multiplier-public-rest-api.md) · [All operations](https://skmtc.net/usemultiplier/apis/multiplier-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usemultiplier/multiplier-public-rest-api/revisions/59cd6443fdbf/schema)
