---
title: "Create unit of measure"
method: POST
path: "/units-of-measure/"
tags: ["Unit Of Measures"]
---

# Create unit of measure

`POST /units-of-measure/`

Endpoint for creating a new unit of measure.

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- 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.

## Response `201`

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