AlmondTill/G3N API

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

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 human-readable id, shaped like ST-… — stable for the record’s life.
typeString String!The kind of record — always Style here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active, inactive or doomed.
parentIdID ID!The parent org group; for a Style parentId === rootId.
rootIdID ID!The id of your organization group — every record of yours carries the same one.
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 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.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — 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.
taxCategoryTaxCategoryThe tax classification — absent = standard. Editable. The flagged Product-level override stays deferred.

Used by