# NewOptionGroupInput

input type

Create-input for an OptionGroup. The tenant (org group) is derived SERVER-SIDE from the principal — NEVER supplied here; optionGroupType is REQUIRED (the canned registry) and immutable after birth.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | Optional: when omitted the per-type default applies — the merchant code when given, else 'Option group'; when supplied it must be non-blank. |
| `optionGroupType` | [OptionGroupType](/types/OptionGroupType/) `OptionGroupType!` | yes | The pick-source kind — immutable after birth. |
| `code` | [String](/types/#scalars) | no | No further notes. |

## Used by

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