Skip to main content

Loyalty Plan Model

A loyalty plan defines how loyalty value is accumulated and redeemed, and can assign business-specific settings.

Core operations​

ActionMethodResource
ListGET/loyalty_plans
FindGET/loyalty_plans/{loyalty_plan_id}
CreatePOST/loyalty_plans
UpdatePOST/loyalty_plans/{loyalty_plan_id}
DeleteDELETE/loyalty_plans/{loyalty_plan_id}

The detail read and all mutations require administrator authentication.

Representative fields​

Core plan fields include id, name, type, redemption_rate, accumulation_rate, maximum_redemption_type, maximum_redemption_rate, maximum_accumulation, expire_after_minutes, created_at, and updated_at.

Creation also accepts businesses, whose entries can apply business-specific redeems, accumulates, rates, maximums, and expiration settings. See Business loyalty plans model.

The meanings of these numeric values are unconfirmed; check the loyalty configuration before using them.