AlmondTill/G3N API

EditVariantInput

input type

Edit-input for a Variant. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic). The coordinate AND the stock-UoM pair are NOT editable (IMMUTABLE at birth, / — a cell IS its coordinate; re-coordinate or re-UoM = recreate), nor is the parent-product ref (the header). Caption/code are ordinary edits; a supplied manufacturerPartNumbers list REPLACES the stored map wholesale.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
codeStringnoNo further notes.
manufacturerPartNumbersManufacturerPartNumberInput [ManufacturerPartNumberInput!]noThe replacement part-number map (wholesale; at most 8, unique per manufacturer; each manufacturer re-gated).

Used by