EditStyleInput
input type
Edit-input for a Style. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved. brandId and sizeRunId additionally accept an explicit null to clear; every supplied list replaces wholesale, re-gated per entry exactly like create. styleType is NOT editable. A supplied scheme is frozen-gated: once the style has any Product it is refused CONFLICT/REFERENCED naming them.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | |
code | String | no | |
scheme | StyleSchemeEntryInput [StyleSchemeEntryInput!] | no | The replacement scheme (wholesale) — refused once any Product exists. |
brandId | ID | no | The NEW Brand pointer, or explicit null to clear; omitted = unchanged. |
sizeRunId | ID | no | The NEW SizeRun pointer, or explicit null to clear; omitted = unchanged. |
seasonIds | ID [ID!] | no | The replacement season set (wholesale; empty releases). |
categoryPlacements | StylePlacementEntryInput [StylePlacementEntryInput!] | no | The replacement placements (wholesale; empty releases). |
tagIds | ID [ID!] | no | The replacement tag set (wholesale; empty releases). |
characteristicEntries | StyleCharacteristicEntryInput [StyleCharacteristicEntryInput!] | no | The replacement characteristic values (wholesale; empty releases). |
taxCategory | TaxCategory | no | The classification — revert = set 'standard' (absent means standard; no null-clear). |