AlmondTill/G3N API

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 (the MF-d precedent — an empty list releases), re-gated per entry exactly like create. styleType is NOT editable (immutable at birth). A supplied scheme is FROZEN-gated: once the style has any Product it is refused CONFLICT/REFERENCED naming them.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
codeStringnoNo further notes.
schemeStyleSchemeEntryInput [StyleSchemeEntryInput!]noThe replacement scheme (wholesale) — REFUSED once any Product exists.
brandIdIDnoThe NEW Brand pointer, or EXPLICIT null to clear; omitted = unchanged.
sizeRunIdIDnoThe NEW SizeRun pointer (ACTIVE, over a group in the scheme), or EXPLICIT null to clear; omitted = unchanged.
seasonIdsID [ID!]noThe replacement season set (wholesale; empty releases).
categoryPlacementsStylePlacementEntryInput [StylePlacementEntryInput!]noThe replacement placements (wholesale; empty releases).
tagIdsID [ID!]noThe replacement tag set (wholesale; empty releases).
characteristicEntriesStyleCharacteristicEntryInput [StyleCharacteristicEntryInput!]noThe replacement characteristic values (wholesale; empty releases).
taxCategoryTaxCategorynoThe classification — revert = set 'standard' (absent means standard; no null-clear).

Used by