Skip to content

Points accounts

Customers in the points programme; one account per customer. The balance is the sum of points_entries. A customer joins with the loyalty.join_points command.

Module: Fidelizare (loyalty).

  • GET /api/v1/points_accounts - List with filters, sorting and pagination (scope loyalty:read)
  • GET /api/v1/points_accounts/{id} - A record by id (scope loyalty:read)
  • POST /api/v1/points_accounts/{id}/adjust - Corecție de puncte (cu minus pentru scădere), mereu cu motiv. (scope loyalty:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • party_id (string, uuid; read)
  • source (string; read)
  • joined_by_name (string; 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).
  • points_accounts.created
  • points_accounts.updated
  • points_accounts.deleted