---
title: "Partial update cost center"
method: PATCH
path: "/cost-centers/{id}/"
tags: ["Cost Centers"]
---

# Partial update cost center

`PATCH /cost-centers/{id}/`

Endpoint for partially updating an existing cost center.

## Path parameters

- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedCostCenter
  - `created_ts` string, date-time — The timestamp in UTC when the cost center was created
  - `id` string — The unique identifier of the cost center.
  - `is_active` boolean — Indicates whether the cost center is currently active or inactive.
  - `legacy_id` string — [Deprecated] The legacy identifier of the cost center.
  - `modified_ts` string, date-time — The timestamp in UTC when the cost center was last modified
  - `name_ar` string — The name of the cost center in Arabic, limited to 200 characters.
  - `name_en` string — The name of the cost center in English, limited to 200 characters.

## Response `200`

- CostCenter
  - `created_ts` string, date-time, required — The timestamp in UTC when the cost center was created
  - `id` string, required — The unique identifier of the cost center.
  - `is_active` boolean, required — Indicates whether the cost center is currently active or inactive.
  - `legacy_id` string, required — [Deprecated] The legacy identifier of the cost center.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the cost center was last modified
  - `name_ar` string, required — The name of the cost center in Arabic, limited to 200 characters.
  - `name_en` string, required — The name of the cost center in English, limited to 200 characters.

---

[API](https://skmtc.net/wafeq/apis/wafeq-public-api.md) · [All operations](https://skmtc.net/wafeq/apis/wafeq-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wafeq/wafeq-public-api/revisions/36816b4fce7f/schema)
