AlmondTill/G3N API

NewLoyaltyMemberInput

input type

ENROLL-input for a LoyaltyMember. The tenant is derived SERVER-SIDE; the program gates in-tenant + ACTIVE; the email normalizes (trim+lowercase) and its (program × email) marker mints IN the transaction (a LIVE holder refuses CONFLICT/MEMBER_EXISTS; a DOOMED holder is taken over — re-enrollable); pointsBalance births 0; an initial tier must name a program tier.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the phrase member <normalized email>; when supplied it must be non-blank.
programIdID ID!yesThe LoyaltyProgram to enroll into — in-tenant + ACTIVE.
customerLoyaltyCustomerInput LoyaltyCustomerInput!yesThe identity block — email REQUIRED (the enrollment identity; normalized server-side).
currentTierStringnoOptional initial tier NAME — must name a program tier.
priceGroupIdIDnoOptional CustomerPriceGroup assignment.
consumerIdIDnoOptional Consumer bridge.

Used by