Spree Admin SDK
List order items
Returns all line items for an order.
Required scope: read_orders (for API-key authentication).
GET
Spree Admin SDK
Filters
Filter withq[<attribute>_<predicate>]=value, for example q[additional_tax_total_eq]=…. 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[order_id_eq]. The same predicates apply.additional_tax_total, adjustment_total, cost_price, created_at, discount_total, id, included_tax_total, non_taxable_adjustment_total, order_id, pre_tax_amount, price, quantity, tax_category_id, taxable_adjustment_total, updated_at, variant_id. 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
Path Parameters
Order ID
Query Parameters
Comma-separated associations to expand (e.g., variant, variant.product). Use dot notation for nested expand (max 4 levels).
Comma-separated list of fields to include (e.g., quantity,price,total). id is always included.
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.
Response
200 - application/json
items found

