AlmondTill/G3N API

NewStyleInput

input type

Create-input for a Style.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Style'; when supplied it must be non-blank.
styleTypeStyleType StyleType!yesThe style kind — immutable after birth; all four types accepted.
schemeStyleSchemeEntryInput [StyleSchemeEntryInput!]noThe ordered option dimensions (at most 8, unique groups; tier defaulted for color/size, required for custom).
brandIdIDno
sizeRunIdIDno
seasonIdsID [ID!]noSeason memberships (at most 32, unique) — each tenant-scoped + active.
categoryPlacementsStylePlacementEntryInput [StylePlacementEntryInput!]noCategory placements (at most 32, unique, at most 1 primary) — each target tenant-scoped + active + a leaf.
tagIdsID [ID!]noThe Tag set (at most 64, unique) — each tenant-scoped + active.
characteristicEntriesStyleCharacteristicEntryInput [StyleCharacteristicEntryInput!]noCharacteristic values (at most 64, unique per characteristic) — each target tenant-scoped + active; values validated per valueType/grammar.
codeStringno
taxCategoryTaxCategorynoThe tax classification — absent = standard.

Used by