> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Create a Unit of Measure

> Learn how to create a unit of measure by the Settings API.

Learn how to create a unit of measure by the Settings API.

To create a new unit of measure, see the following request and samples of request and 200 response bodies.

HTTP request:

`POST https://rest.zuora.com/settings/units-of-measure`

Request body:

```json
{
    "name": "GB",
    "displayAs": "GB",
    "precision": 0,
    "roundingMode": "Up",
    "active": true,
    "usageLogFileLabel": "GB"
}
```

Response body:

```json
{
    "name": "GB",
    "displayAs": "GB",
    "precision": 0,
    "roundingMode": "Up",
    "active": true,
    "usageLogFileLabel": "GB",
    "id": "8ad08fbf847576b40184759d42820a42"
}
```