AlmondTill/G3N API

Review

object type

A Review — ONE consumer product review: authorConsumerId × targetProductId both immutable at birth. rating 1–5 (integer). verifiedPurchase is server-stamped, never client-asserted. rejected/removed are both doomed terminals (lists filter them; the marker frees by takeover). The staff face is moderation-ONLY. Consumer erase does NOT cascade. Display/rendering = (deferral 4); the aggregate rating read-model = (deferral 5); photos/Q&A/votes/replies = ratified-out. NOT searchable (reached via its target — authorial content, not a master book).

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 RE-… — stable for the record’s life.
typeString String!The kind of record — always Review here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of pending, approved, published, rejected or removed.
parentIdID ID!The parent org group; for a Review 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.
authorConsumerIdID ID!The authoring registered Consumer. Immutable at birth.
targetProductIdID ID!The reviewed Product. Immutable at birth (the marker identity; re-target = a NEW review after removal).
ratingInt Int!1–5 (integer — no halves at v1).
titleString String!The review headline (1..200).
bodyString String!The review narrative (1..8192).
verifiedPurchaseBoolean Boolean!Server-stamped. Author edits supplying orderId re-derive it.
verifiedByOrderIdIDThe proving Order — present IFF verifiedPurchase (the stamp carries its provenance).

Used by