Style
object type
styleType comes from the canned registry and is immutable. The scheme is frozen once any Product exists. Org availability = the OrgStyle selection; zero dimensions = the corner-store single-cell case.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like ST-… — stable for the record’s life. |
type | String String! | The kind of record — always Style here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive or doomed. |
parentId | ID ID! | The parent org group; for a Style parentId === rootId. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
styleType | StyleType StyleType! | The style kind — set at creation, immutable thereafter. |
scheme | StyleSchemeEntry [StyleSchemeEntry!] | The ordered option-space dimensions. Every stored entry carries its resolved tier; absent/empty = zero dimensions. Frozen once any Product exists. |
brandId | ID | The optional 0..1 Brand — editable, explicit-null-clearable; absent = unbranded. |
sizeRunId | ID | The optional 0..1 SizeRun this style fills its matrix with: the run must be active and over a group IN the scheme; editable, explicit-null-clearable (the brandId CG-a shape); absent = each dimension falls to its group default run, if any. The matrix read (styleStockMatrix) carries the resolved run per axis. |
seasonIds | ID [ID!] | The Season memberships — wholesale-replace list; absent = none. |
categoryPlacements | StylePlacementEntry [StylePlacementEntry!] | The category placements; wholesale-replace; absent = unplaced. |
tagIds | ID [ID!] | The Tag set — wholesale-replace list; absent = untagged. |
characteristicEntries | StyleCharacteristicEntry [StyleCharacteristicEntry!] | The characteristic values; wholesale-replace; absent = none. |
code | String | Optional mutable merchant reference code; uniqueness NOT enforced. |
taxCategory | TaxCategory | The tax classification — absent = standard. Editable. The flagged Product-level override stays deferred. |