AlmondTill/G3N API

EditLoyaltyProgramInput

input type

Edit-input for a LoyaltyProgram. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic). currency and startAt are IMMUTABLE at birth (the rate anchor + the history anchor); the RESULTING window must keep endAt strictly after the immutable startAt (the RC-h merged-edit law).

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
earnRateLoyaltyRateInputnoNo further notes.
redeemRateLoyaltyRateInputnoNo further notes.
earnMultipliersLoyaltyEarnMultiplierInput [LoyaltyEarnMultiplierInput!]noWholesale replace (the array-edit law).
bonusWindowsLoyaltyBonusWindowInput [LoyaltyBonusWindowInput!]noWholesale replace.
tiersLoyaltyTierInput [LoyaltyTierInput!]noWholesale replace — a renamed tier degrades assigned members to the base multiplier at evaluation (never a cart-killing throw).
organizationIdsID [ID!]noWholesale replace of the canned pool.
endAtStringnoNo further notes.

Used by