APIv3
Exit Documentation

Units of measure

Units-of-measure discovery provides the account-owned unit UUIDs that inventory items can reference. The endpoint is read-only and follows the API user's current inventory permissions.

The unit-of-measure object

FieldTypeDescription
idstringUnique unit-of-measure UUID.
objectstringAlways unit_of_measure.
full_namestringFull display name, such as Kilogram.
short_namestringQuantity suffix, such as kg.
display_orderintegerAccount-configured ordering value.

List units of measure

GET/api/v3/units-of-measure

Required scope: items:read

Returns units belonging to the current account, ordered by display_order, full name, and UUID.

ParameterTypeRequiredDescription
pageintegerNoPage number. Defaults to 1.
limitintegerNoRecords per page from 1 to 100. Defaults to 20.
json
{
  "object": "list",
  "url": "/api/v3/units-of-measure",
  "has_more": false,
  "data": [
    {
      "id": "1c7a84de-d045-43ae-b60f-67f75f655ba0",
      "object": "unit_of_measure",
      "full_name": "Kilogram",
      "short_name": "kg",
      "display_order": 1
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total_pages": 1,
    "total_records": 1
  }
}

Retrieve a unit of measure

GET/api/v3/units-of-measure/{unit_of_measure_id}

Required scope: items:read

Returns one account-owned unit.