Create loyalty program
Creates a new loyalty program with default status set to draft. Only one loyalty program can be in draft status at a time. To schedule a loyalty program for future, provide a future datetime value in starts_at. Use the activate endpoint to make it active or scheduled. Returns the created LoyaltyProgram object.
Authorizations
Body
Custom renewal requires date_of_reset later than starts_at. Inactivity expiry requires positive redemption_inactivity_days; reset_date expiry is unavailable for never renewal. Fixed earning requires fixed_points on each tier; dynamic earning requires points_earning_rate. Tier thresholds must match tier_upgrade_criteria.
Defines when loyalty points are expired. "never" means the points never expire, "inactivity" means the points expire after a certain number of days of inactivity, "reset_date" means the points expire when the loyalty program is reset.
never, inactivity, reset_date