Spree SDK
List gift cards
Returns all gift cards for the authenticated customer
GET
Spree SDK
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.
Sort by:
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
Publishable API key for store access
JWT token for authenticated customers
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.
Comma-separated list of fields to include (e.g., name,slug,price). id is always included.
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.

