Stamp entries
Every change on a card: stamps added (stamp), completed reward (reward), reversal (undo), expiry (expired), with who did it. The undo action reverses an addition. Filter with filter[card_id].
Module: Fidelizare (loyalty).
Endpoints
Section titled “Endpoints”GET /api/v1/stamp_entries- List with filters, sorting and pagination (scopeloyalty:read)GET /api/v1/stamp_entries/{id}- A record by id (scopeloyalty:read)POST /api/v1/stamp_entries/{id}/undo- Anulează o adăugare de ștampile. Fără drept de administrare, doar propriile adăugări, în fereastra setată. (scopeloyalty:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).card_id(string, uuid; read)qty(integer; read)reason(string; read)undoes_id(string, uuid; read)idempotency_key(string; read)actor_id(string; read)actor_name(string; read)created_at(string, date-time; read): Creation date (ISO 8601).location_id(string, uuid; read)
Events
Section titled “Events”stamp_entries.createdstamp_entries.updatedstamp_entries.deleted