Gift cards
Gift cards. The code is shown only once, at issue.
Module: Online shop (shop).
Endpoints
Section titled “Endpoints”GET /api/v1/shop_gift_cards- List with filters, sorting and pagination (scopeshop:read)GET /api/v1/shop_gift_cards/{id}- A record by id (scopeshop:read)POST /api/v1/shop_gift_cards- Create a record (scopeshop:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).initial_value(number; read)balance(number; read)currency(string; write): Currency (ISO code, e.g. RON).channel_ids(array; write)expires_at(string, date-time; write)status(string; read)recipient_email(string, email; write)recipient_name(string; write)issued_order_id(string, uuid; read)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).value(number; write, required)