Skip to main content

organizationDefaultUOM

Requires an authenticated session.

The organization's default unit, used when a product has none. Returns null when no default is set or it points at a retired unit.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query OrganizationDefaultUOM {
organizationDefaultUOM {
id
code
colorCode
name
pluralName
createdAt
conversionFrom {
id
createdAt
conversionFactor
deletedAt
deletedBy
enteredBy
}
}
}

Response:

{
"data": {
"organizationDefaultUOM": {
"id": "id",
"code": "string",
"colorCode": "string",
"name": "string",
"pluralName": "string",
"createdAt": "2025-01-15T00:00:00Z",
"conversionFrom": [
{
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"conversionFactor": 0,
"deletedAt": "2025-01-15T00:00:00Z",
"deletedBy": "string",
"enteredBy": "string"
}
]
}
}
}
organizationDefaultUOM: UnitOfMeasure

Type​

UnitOfMeasure object​

A unit of measure in the organization's catalog, with its category, decimal rules and display settings.