Gift card movements
Sale (sale), use (redeem), reversed use (reverse), closing (cancel) and expiry (expire). payment_source says where a use comes from: invoice, payment note or manual. Filter with filter[card_id].
Module: Fidelizare (loyalty).
Endpoints
Section titled “Endpoints”GET /api/v1/gift_card_entries- List with filters, sorting and pagination (scopeloyalty:read)GET /api/v1/gift_card_entries/{id}- A record by id (scopeloyalty:read)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).card_id(string, uuid; read)kind(string; read)amount(number; read)payment_id(string, uuid; read)payment_source(string; read)location_id(string, uuid; read)idempotency_key(string; read)document_id(string, uuid; read)reverses_id(string, uuid; read)refund_method(string; read)reason(string; read)actor_name(string; read)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).
Events
Section titled “Events”gift_card_entries.createdgift_card_entries.updatedgift_card_entries.deleted