NewLoyaltyProgramInput
input type
Create-input for a LoyaltyProgram.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the phrase loyalty program <currency>; when supplied it must be non-blank. |
currency | String String! | yes | Immutable at birth — the earn/redeem currency anchor; a platform-registry code inside the union of the group's organizations' allowed sets. |
earnRate | LoyaltyRateInput LoyaltyRateInput! | yes | The LoyaltyRate input twin. |
redeemRate | LoyaltyRateInput LoyaltyRateInput! | yes | The LoyaltyRate input twin. |
earnMultipliers | LoyaltyEarnMultiplierInput [LoyaltyEarnMultiplierInput!] | no | The LoyaltyEarnMultiplier input twin — the predicate must be sane. |
bonusWindows | LoyaltyBonusWindowInput [LoyaltyBonusWindowInput!] | no | The LoyaltyBonusWindow input twin — startAt strictly before endAt. |
tiers | LoyaltyTierInput [LoyaltyTierInput!] | no | The LoyaltyTier input twin — names unique within the array. |
organizationIds | ID [ID!] | no | The canned-pool selection — absent = every org in the group. |
startAt | String | no | Omitted = kit-stamped NOW; immutable once born. |
endAt | String | no | Absent = evergreen; must lie strictly after the window start. |