Skip to content

Challenges

Challenges with a points reward: what is counted, goal, time window and points.

Module: Fidelizare (loyalty).

  • GET /api/v1/loyalty_challenges - List with filters, sorting and pagination (scope loyalty:read)
  • GET /api/v1/loyalty_challenges/{id} - A record by id (scope loyalty:read)
  • id (string, uuid; read): Unique identifier (UUID).
  • name (string; read)
  • metric (string; read)
  • goal (number; read)
  • days (integer; read)
  • reward_points (integer; read)
  • active (boolean; read)
  • created_by (string; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • loyalty_challenges.created
  • loyalty_challenges.updated
  • loyalty_challenges.deleted