Skip to content

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).

  • GET /api/v1/stamp_entries - List with filters, sorting and pagination (scope loyalty:read)
  • GET /api/v1/stamp_entries/{id} - A record by id (scope loyalty: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ă. (scope loyalty:write)
  • 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)
  • stamp_entries.created
  • stamp_entries.updated
  • stamp_entries.deleted