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
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the merchant code when given, else 'Custom UoM'; when supplied it must be non-blank. |
dimensionClass | UomDimensionClass UomDimensionClass! | yes | The dimension class — immutable after birth. |
factorToBase | Float Float! | yes | The conversion factor to the class base unit; > 0, finite. |
code | String | no | No further notes. |