AlmondTill/G3N API

Variant

object type

A variant — the spine LEAF, the SELLABLE CELL: one complete coordinate of its Style option space (every scheme dimension exactly once) and the SKU bearer (IdentifierEntry lands; inventory). Parent = its Product (NOT the family root). The coordinate is IMMUTABLE at birth — a cell IS its coordinate; re-coordinate = recreate. Cell DISJOINTNESS is the ratified: a per-(style × cell) uniqueness marker minted in the create transaction — a live duplicate is CONFLICT/IDENTITY_TAKEN naming the holding variant AND its product; a doomed holder is taken over. The stock-UoM pair (stockUomKind, stockUomRef) defaults (canned, each) and is IMMUTABLE.

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 (VR-…).
typeString String!The kind of record — always Variant 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 Product; for a Variant 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.
coordinateVariantCoordinateEntry [VariantCoordinateEntry!]!The COMPLETE cell coordinate — every scheme dimension exactly once, stored in scheme order; empty = the zero-dimension cell. IMMUTABLE at birth.
stockUomKindStockUomKind StockUomKind!The stock-UoM kind; IMMUTABLE at birth, paired with stockUomRef.
stockUomRefString String!The stock-UoM ref — a canned UoM code (each, …) or a CustomUom id per the kind; IMMUTABLE at birth.
manufacturerPartNumbersManufacturerPartNumber [ManufacturerPartNumber!]The manufacturer part-number map; absent when none. MUTABLE — a supplied list REPLACES wholesale.
codeStringOptional mutable merchant reference code; uniqueness NOT enforced (the code stance).

Used by