Skip to main content
POST
Create unit of measure

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Body

application/json
unit_class_id
integer
required
name
string
required
description
string
required
base_unit
boolean

When true, this UOM becomes the base unit for its class.

conversion_factor
number

Optional. When provided alongside a non-base UOM, a SYSTEM conversion rule from the base UOM to this new UOM is created automatically with the given factor.

Required range: x >= 0

Response

Created

data
object

A single unit of measure (e.g. "Pound", "Kilogram") belonging to a unit class.