Points movements
Earned (earn), referral (referral), used (redeem), reversed (reverse), expired (expire) and correction (adjust). money is the amount collected or the discount given; source says where it comes from: invoice, payment note, counter. Filter with filter[account_id].
Module: Fidelizare (loyalty).
Endpoints
Section titled “Endpoints”GET /api/v1/points_entries- List with filters, sorting and pagination (scopeloyalty:read)GET /api/v1/points_entries/{id}- A record by id (scopeloyalty:read)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).account_id(string, uuid; read)kind(string; read)points(integer; read)money(number; read)currency(string; read): Currency (ISO code, e.g. RON).source(string; read)payment_id(string, uuid; read)document_id(string, uuid; read)expires_on(string, date; read)reverses_id(string, uuid; read)idempotency_key(string; read)reason(string; read)location_id(string, uuid; read)actor_name(string; read)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).seq(integer; read)
Events
Section titled “Events”points_entries.createdpoints_entries.updatedpoints_entries.deleted