# EditOptionGroupInput

input type

Edit-input for a OptionGroup. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic) — EXCEPT defaultSizeRunId, which additionally accepts an EXPLICIT null to CLEAR. optionGroupType is NOT editable (immutable at birth, OG-a — the divisionType precedent). A group with ACTIVE OptionValue children refuses deactivate; one with NON-doomed children refuses doom (CONFLICT/REFERENCED naming the blockers — bottom-up, children first).

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | No further notes. |
| `code` | [String](/types/#scalars) | no | No further notes. |
| `defaultSizeRunId` | [ID](/types/#scalars) | no | The NEW default SizeRun (ACTIVE, over THIS group), or EXPLICIT null to clear; omitted = unchanged. |

## Used by

- [updateOptionGroup](/reference/option-group/updateOptionGroup/)
