> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an uom

> Create an uom

### Request body

`CreateUnitOfMeasureRequest`

<ParamField body="abbreviation" type="string" required />

<ParamField body="factor" type="string" required>
  Conversion factor relative to the class base unit, as a string.
</ParamField>

<ParamField body="name" type="string" required />

<ParamField body="unit_class_id" type="string" required />

### Responses

<ResponseField name="201" type="UnitOfMeasureResponse" />

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.stateset.com/api/v1/units-of-measure' \
    --header 'Authorization: Bearer YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "abbreviation": "string",
    "factor": "string",
    "name": "string",
    "unit_class_id": "string"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 201 theme={null}
  {
    "abbreviation": "string",
    "factor": "string",
    "id": "string",
    "is_base": true,
    "name": "string",
    "unit_class_id": "string"
  }
  ```
</ResponseExample>
