Spree Admin SDK
List categories
Returns a paginated list of the store’s categories (manual hierarchical taxons; rule-based collections are excluded).
Required scope: read_categories (for API-key authentication).
GET
Spree Admin SDK
Filters
Filter withq[<attribute>_<predicate>]=value, for example q[name_cont]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work.
Filters through associations
Filters through associations
Prefix an associated record’s attribute with the association, as in
q[parent_id_eq]. The same predicates apply.automatic, children_count, created_at, depth, id, name, parent_id, permalink, position, pretty_name, products_count, 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 name and pretty name (partial, case-insensitive).
Page number
Number of records per page
Comma-separated associations to expand (e.g., children, parent, ancestors).
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.

