AlmondTill/G3N API

Style

object type

styleType comes from the canned registry (simple | service | kit | bundle — all four realized; kit/bundle variants bear per-variant VariantComponent BOMs since the component slice) 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

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The group-scoped human-facing system id (ST-…).
typeString String!The kind of record — always Style here.
captionString String!The record’s display name — what people see it called.
statusString String!The FSM state: active | inactive | doomed.
parentIdID ID!The parent org group; for a Style parentId === rootId.
rootIdID ID!The org-group family root.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID ID!The OCC revision token — supply it on every mutation of this record; rotates on every write.
refCaptionsRefCaption [RefCaption!]!The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption.
styleTypeStyleType StyleType!The style kind — set at creation, IMMUTABLE thereafter.
schemeStyleSchemeEntry [StyleSchemeEntry!]The ORDERED option-space dimensions. Every stored entry carries its resolved tier; absent/empty = zero dimensions. FROZEN once any Product exists.
brandIdIDThe optional 0..1 Brand — editable, EXPLICIT-null-clearable; absent = unbranded.
sizeRunIdIDThe 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.
seasonIdsID [ID!]The Season memberships — wholesale-replace list; absent = none.
categoryPlacementsStylePlacementEntry [StylePlacementEntry!]The category placements; wholesale-replace; absent = unplaced.
tagIdsID [ID!]The Tag set — wholesale-replace list; absent = untagged.
characteristicEntriesStyleCharacteristicEntry [StyleCharacteristicEntry!]The characteristic VALUES; wholesale-replace; absent = none.
codeStringOptional mutable merchant reference code; uniqueness NOT enforced (the code stance).
taxCategoryTaxCategoryThe tax classification (the canned TaxCategory registry; T-j) — ABSENT = standard (the default; revert = set 'standard'). Editable. The flagged Product-level override stays deferred.

Used by