AlmondTill/G3N API

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

FieldTypeNotes
idID ID!No further notes.
parentIdID ID!The parent LoyaltyMember.
entryTypeLoyaltyPointsEntryType LoyaltyPointsEntryType!No further notes.
pointsInt Int!The SIGNED points figure — the sign is the balance direction (earn/redeem_reversal +, redeem/clawback/expire −, adjust either).
reasonStringThe reason text — REQUIRED on adjust (the reason-coded stance), optional narration otherwise.
orderIdIDThe driving Order.
returnIdIDThe driving Return (the return clawback/restore arms; return-driven entries carry BOTH refs).
linesLoyaltyEntryLineDetail [LoyaltyEntryLineDetail!]The per-line split.
captionString String!No further notes.
createdAtString String!No further notes.

Used by