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
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like CS-… — stable for the record’s life. |
type | String String! | The kind of record — always CsCase here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of open, in_progress, pending_customer, escalated, resolved, closed or cancelled. |
parentId | ID ID! | The parent org group; for a CsCase parentId === rootId. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID 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. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
caseType | String 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. |
priority | String String! | low | normal | high | urgent — kit-stamped 'normal' when the caller names none; manual. |
origin | String String! | storefront | staff — where the case originated, server-stamped by lane. Immutable. |
consumerId | ID | The registered Consumer this case is FOR (absent = a guest case). Immutable at birth. Ref-only: consumer erase does NOT cascade here. |
organizationId | ID | The acted-upon Organization — ref-only, in-tenant + non-doomed at set. |
orderId | ID | The disputed/acted-upon Order — ref-only (@375: no doom arm grows on it). |
appointmentId | ID | The related Appointment — ref-only. |
returnId | ID | The related Return — ref-only. |
fulfillmentId | ID | The related Fulfillment — ref-only. |
paymentId | ID | The related Payment — ref-only. |
warrantyId | ID | The Warranty a claim was filed against — stamped by fileClaimWarranty in the same transaction as the warranty’s claimed flip; never caller-typed. Ref-only. |
linkedFromCaseId | ID | The closed case this one reopens. Immutable at birth; the reopen provenance edge. |
assignedTo | ID | The assigned agent — an User (in-tenant + active at set); teams/queues = (deferral 1). |
slaDueAt | String | The SLA due instant (ISO-8601) — manual; / populates by policy. |
resolution | CaseResolution | The typed resolution block — set via update before resolve fires. |
supportBilling | CaseSupportBilling | The support-billing fact. Staff lanes only: the consumer lanes (myCase/myCases) redact it structurally. |