AlmondTill/G3N API

NewOptionValueInput

input type

Create-input for an OptionValue. The tenant (org group) is derived SERVER-SIDE from the principal; optionGroupId (the parent pick-source) is tenant-scoped server-side and must be active (STRICT — a value may not be born under a non-active group).

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Option value'; when supplied it must be non-blank.
optionGroupIdID ID!yesThe parent OptionGroup id.
ordinalIntnoOptional pick-list position (0..1000000) — defaults to 0.
codeStringnoNo further notes.

Used by