Skip to content

Loyalty rewards

Completed rewards: when, until when they are valid, when and by whom they were used, or whether they were cancelled. Action: redeem. Filter with filter[card_id].

Module: Fidelizare (loyalty).

  • GET /api/v1/stamp_rewards - List with filters, sorting and pagination (scope loyalty:read)
  • GET /api/v1/stamp_rewards/{id} - A record by id (scope loyalty:read)
  • POST /api/v1/stamp_rewards/{id}/redeem - Marchează premiul ca folosit, o singură dată. (scope loyalty:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • card_id (string, uuid; read)
  • entry_id (string, uuid; read)
  • reward_text (string; read)
  • stamps_used (integer; read)
  • earned_at (string, date-time; read)
  • expires_at (string, date-time; read)
  • redeemed_at (string, date-time; read)
  • redeemed_by_name (string; read)
  • cancelled_at (string, date-time; read)
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • redeemed_location_id (string, uuid; read)
  • stamp_rewards.created
  • stamp_rewards.updated
  • stamp_rewards.deleted