AlmondTill/G3N API

AffiliateEntry

object type

ONE immutable affiliate fact: order-level (no per-line detail v1 — the product-scope predicate is a named deferral); basisMinor + ratePpm stamp the earn (self-auditing — the affiliate's rate is editable, the entry's snapshot is not).

Fields

FieldTypeNotes
idID ID!
parentIdID ID!The parent Affiliate — rows ride affledger#<affiliateId>.
entryTypeAffiliateEntryType AffiliateEntryType!One of the values of [AffiliateEntryType](/types/AffiliateEntryType/).
amountMinorInt Int!The signed payable figure (minor units — earn +, clawback −).
currencyString String!
basisMinorIntThe order net the earn computed on (stamped on earn — self-auditing arithmetic).
ratePpmIntThe rate snapshot (ppm — stamped on earn).
orderIdID ID!
returnIdID
captionString String!
createdAtString String!