Skip to main content
GET
Spree Admin SDK

Filters

Filter with q[<attribute>_<predicate>]=value, for example q[number_cont]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work.
Prefix an associated record’s attribute with the association, as in q[destination_location_id_eq]. The same predicates apply.
Sort by: closed_short_at, created_at, destination_location_id, id, number, received_at, reference, shipped_at, source_location_id, status, updated_at. Prefix a field with - to sort descending.

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Bearer token for admin authentication

Query Parameters

Matches any of number and reference (partial, case-insensitive).

q[closed]
boolean

Set to true to apply closed.

q[open]
boolean

Set to true to apply open.

page
integer

Page number

limit
integer

Number of records per page

q
object

Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.

expand
string

Comma-separated associations to embed: items, source_location, destination_location

Response

stock transfers found

data
object[]
required
meta
object
required