Uom
Overview
The uom module synchronizes unit of measure master data for a company.
This module represents units of measure used by the system and depends on company. The referenced company_id must already exist.
Request
- Method: POST
- Path:
{{base_url}}/api/sync-master-data
Request Envelope
The Uom module uses the standard Open API request envelope with uom as the module and an array of unit of measure objects as data.
{
"module": "uom",
"data": [
{}
],
"chunk_metadata": {}
}
Request Body Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | Yes | Unit of measure identifier. | UOM-01 |
company_id | string | Yes | Identifier of the company the unit of measure belongs to. The company must already exist. | HTL-001 |
name | string | Yes | Unit of measure name. | Piece |
description | string | Optional | Optional description of the unit of measure. | Single unit |
Request Example
{
"module": "uom",
"data": [
{
"id": "UOM-01",
"company_id": "HTL-001",
"name": "Piece",
"description": "Single unit"
}
],
"chunk_metadata": {
"process_id": "sync-htl001-2026-08-30",
"chunk_sequence": 1,
"is_last_chunk": true,
"total_records_in_chunk": 1
}
}