# 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

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | No further notes. |
| `code` | [String](/types/#scalars) | no | No further notes. |
| `manufacturerPartNumbers` | [ManufacturerPartNumberInput](/types/ManufacturerPartNumberInput/) `[ManufacturerPartNumberInput!]` | no | The replacement part-number map (wholesale; at most 8, unique per manufacturer; each manufacturer re-gated). |

## Used by

- [updateVariant](/reference/variant/updateVariant/)
