LoyaltyPointsEntry
object type
ONE immutable points fact: the SIGNED points figure IS the balance direction; the parent member's pointsBalance was stamped in the SAME transaction. Corrections are NEW adjust entries, never edits.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | No further notes. |
parentId | ID ID! | The parent LoyaltyMember. |
entryType | LoyaltyPointsEntryType LoyaltyPointsEntryType! | No further notes. |
points | Int Int! | The SIGNED points figure — the sign is the balance direction (earn/redeem_reversal +, redeem/clawback/expire −, adjust either). |
reason | String | The reason text — REQUIRED on adjust (the reason-coded stance), optional narration otherwise. |
orderId | ID | The driving Order. |
returnId | ID | The driving Return (the return clawback/restore arms; return-driven entries carry BOTH refs). |
lines | LoyaltyEntryLineDetail [LoyaltyEntryLineDetail!] | The per-line split. |
caption | String String! | No further notes. |
createdAt | String String! | No further notes. |