Unit of Measure Service

Back

Overview

Units of Measure (UOM) define standardized measurement units for products and inventory.

They provide a consistent reference for:

Units of Measure are tenant-scoped and used across sales, inventory, and purchasing modules.

All operations are tenant-aware and scoped to the current tenant.


Endpoints

Back to Reference

GET

/api/v1/UnitOfMeasure/GetAllUnitOfMeasures

Returns all units of measure for the current tenant.

Behavior:

Authorization:


GET

/api/v1/UnitOfMeasure/GetUnitOfMeasureById/{id}

Returns a single unit of measure by its numeric identifier.

Behavior:

Authorization:


GET

/api/v1/UnitOfMeasure/GetUnitOfMeasureByCode/{code}

Returns a single unit of measure by its unique code.

Behavior:

Authorization:


POST

/api/v1/UnitOfMeasure/AddNewUnitOfMeasure

Creates a new unit of measure.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/UnitOfMeasure/UpdateUnitOfMeasureById/{id}

Updates an existing unit of measure.

Request body:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/UnitOfMeasure/DeleteUnitOfMeasureById/{id}

Deletes a unit of measure by its ID.

Behavior:

Errors:

Authorization:


Notes