AlmondTill/G3N API

CsCase

object type

caseType ∈ {return_request, refund_inquiry, product_issue, complaint, general_inquiry, warranty_claim, shipping_issue, order_change, other}. NO description field. origin is server-stamped by lane. Refs are ref-ONLY. consumerId/linkedFromCaseId/origin are immutable at birth (rulings / — the edit face omits them; the casebook derived-index row a consumer-ref'd case mints in its create txn is thereby write-once). resolve requires the typed resolution block present. priority/assignedTo/slaDueAt are manual. The cs event domain's first live producer. NOT searchable (the book law covers WHO, not interactions).

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 CS-… — stable for the record’s life.
typeString String!The kind of record — always CsCase here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of open, in_progress, pending_customer, escalated, resolved, closed or cancelled.
parentIdID ID!The parent org group; for a CsCase 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.
caseTypeString String!return_request | refund_inquiry | product_issue | complaint | general_inquiry | warranty_claim | shipping_issue | order_change | other — the canned registry (AT-extensible, never merchant free-form). Mutable via update.
priorityString String!low | normal | high | urgent — kit-stamped 'normal' when the caller names none; manual.
originString String!storefront | staff — where the case originated, server-stamped by lane. Immutable.
consumerIdIDThe registered Consumer this case is FOR (absent = a guest case). Immutable at birth. Ref-only: consumer erase does NOT cascade here.
organizationIdIDThe acted-upon Organization — ref-only, in-tenant + non-doomed at set.
orderIdIDThe disputed/acted-upon Order — ref-only (@375: no doom arm grows on it).
appointmentIdIDThe related Appointment — ref-only.
returnIdIDThe related Return — ref-only.
fulfillmentIdIDThe related Fulfillment — ref-only.
paymentIdIDThe related Payment — ref-only.
warrantyIdIDThe Warranty a claim was filed against — stamped by fileClaimWarranty in the same transaction as the warranty’s claimed flip; never caller-typed. Ref-only.
linkedFromCaseIdIDThe closed case this one reopens. Immutable at birth; the reopen provenance edge.
assignedToIDThe assigned agent — an User (in-tenant + active at set); teams/queues = (deferral 1).
slaDueAtStringThe SLA due instant (ISO-8601) — manual; / populates by policy.
resolutionCaseResolutionThe typed resolution block — set via update before resolve fires.
supportBillingCaseSupportBillingThe support-billing fact. Staff lanes only: the consumer lanes (myCase/myCases) redact it structurally.

Used by