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. The coordinate AND the stock-UoM pair are NOT editable, nor is the parent-product ref (the header). Caption/code are ordinary edits; a supplied manufacturerPartNumbers list replaces the stored map wholesale.

Fields

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

Used by