NewStyleInput
input type
Create-input for a Style.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the merchant code when given, else 'Style'; when supplied it must be non-blank. |
styleType | StyleType StyleType! | yes | The style kind — immutable after birth; all four types accepted. |
scheme | StyleSchemeEntryInput [StyleSchemeEntryInput!] | no | The ordered option dimensions (at most 8, unique groups; tier defaulted for color/size, required for custom). |
brandId | ID | no | |
sizeRunId | ID | no | |
seasonIds | ID [ID!] | no | Season memberships (at most 32, unique) — each tenant-scoped + active. |
categoryPlacements | StylePlacementEntryInput [StylePlacementEntryInput!] | no | Category placements (at most 32, unique, at most 1 primary) — each target tenant-scoped + active + a leaf. |
tagIds | ID [ID!] | no | The Tag set (at most 64, unique) — each tenant-scoped + active. |
characteristicEntries | StyleCharacteristicEntryInput [StyleCharacteristicEntryInput!] | no | Characteristic values (at most 64, unique per characteristic) — each target tenant-scoped + active; values validated per valueType/grammar. |
code | String | no | |
taxCategory | TaxCategory | no | The tax classification — absent = standard. |