AlmondTill/G3N API

NewCustomUomInput

input type

Create-input for a CustomUom. The tenant (org group) is derived SERVER-SIDE from the principal — NEVER supplied here; dimensionClass + factorToBase are REQUIRED (convertible by construction).

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Custom UoM'; when supplied it must be non-blank.
dimensionClassUomDimensionClass UomDimensionClass!yesThe dimension class — immutable after birth.
factorToBaseFloat Float!yesThe conversion factor to the class base unit; > 0, finite.
codeStringnoNo further notes.

Used by