List gift cards
Returns the gift cards issued by the current store. Filter by
q[code_cont] for code search, q[customer_id_eq] for cards issued
to a specific customer, or q[status_eq] for status filtering.
Required scope: read_gift_cards (for API-key authentication).
Filters
Filter withq[<attribute>_<predicate>]=value, for example q[code_cont]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work.
Filters through associations
Filters through associations
q[batch_id_eq]. The same predicates apply.code, created_at, created_by_id, currency, customer_id, expires_at, gift_card_batch_id, id, state, status, updated_at. Prefix a field with - to sort descending.Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Query Parameters
Matches any of code (partial, case-insensitive).
Set to true to apply active.
Set to true to apply expired.
Set to true to apply partially_redeemed.
Set to true to apply redeemed.
Page number
Number of records per page
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.
Sort by field. Prefix with - for descending (e.g., -created_at).
Comma-separated list of fields to include. id is always included.

