---
title: "Partial update unit of measure"
method: PATCH
path: "/units-of-measure/{id}/"
tags: ["Unit Of Measures"]
---

# Partial update unit of measure

`PATCH /units-of-measure/{id}/`

Endpoint for partially updating an existing unit of measure.

## Path parameters

- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedUnitOfMeasure — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `created_ts` string, date-time — The timestamp in UTC when the unit of measure was created
  - `id` string — The unique identifier of the unit of measure.
  - `is_active` boolean — Whether the unit of measure is active.
  - `modified_ts` string, date-time — The timestamp in UTC when the unit of measure was last modified
  - `name` string — The name of the unit of measure.
  - `name_ar` string — The Arabic name of the unit of measure.

## Response `200`

- UnitOfMeasure — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `created_ts` string, date-time, required — The timestamp in UTC when the unit of measure was created
  - `id` string, required — The unique identifier of the unit of measure.
  - `is_active` boolean — Whether the unit of measure is active.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the unit of measure was last modified
  - `name` string, required — The name of the unit of measure.
  - `name_ar` string — The Arabic name of the unit of measure.

---

[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)
