Skip to main content

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

FieldTypeRequiredDescriptionExample
idstringYesUnit of measure identifier.UOM-01
company_idstringYesIdentifier of the company the unit of measure belongs to. The company must already exist.HTL-001
namestringYesUnit of measure name.Piece
descriptionstringOptionalOptional 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
}
}