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

# Partial update item unit of measure

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

Endpoint for partially updating an existing item unit of measure.

## Path parameters

- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedItemUnitOfMeasure — 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
  - `conversion_factor` number, double — The conversion factor relative to the base unit.
  - `created_ts` string, date-time — The timestamp in UTC when the item unit of measure was created
  - `id` string — The unique identifier of the item unit of measure.
  - `is_active` boolean — Whether this unit of measure is active.
  - `is_base` boolean — Whether this is the base unit of measure for the item.
  - `is_default_purchase` boolean — Whether this is the default unit for purchases.
  - `is_default_sales` boolean — Whether this is the default unit for sales.
  - `item` string — The item this unit of measure belongs to.
  - `modified_ts` string, date-time — The timestamp in UTC when the item unit of measure was last modified
  - `unit_cost` number, double, nullable — The unit cost for this unit of measure.
  - `unit_of_measure` string — The unit of measure.
  - `unit_of_measure_name` string — The name of the unit of measure.
  - `unit_price` number, double, nullable — The unit price for this unit of measure.

## Response `200`

- ItemUnitOfMeasure — 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
  - `conversion_factor` number, double, required — The conversion factor relative to the base unit.
  - `created_ts` string, date-time, required — The timestamp in UTC when the item unit of measure was created
  - `id` string, required — The unique identifier of the item unit of measure.
  - `is_active` boolean — Whether this unit of measure is active.
  - `is_base` boolean — Whether this is the base unit of measure for the item.
  - `is_default_purchase` boolean — Whether this is the default unit for purchases.
  - `is_default_sales` boolean — Whether this is the default unit for sales.
  - `item` string, required — The item this unit of measure belongs to.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the item unit of measure was last modified
  - `unit_cost` number, double, nullable — The unit cost for this unit of measure.
  - `unit_of_measure` string, required — The unit of measure.
  - `unit_of_measure_name` string, required — The name of the unit of measure.
  - `unit_price` number, double, nullable — The unit price for this 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)
