Skip to main content
GET
Spree Seller SDK

Filters

Filter with q[<attribute>_<predicate>]=value, for example q[name_cont]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work. Sort by: available_on, created_at, description, discontinue_on, id, name, price, seller_id, slug, status, updated_at. Prefix a field with - to sort descending.

Authorizations

Authorization
string
header
required

JWT token for an authenticated seller session (seller_api audience)

Headers

X-Spree-Seller-Id
string
required

Query Parameters

Matches product name or variant SKU (partial, case-insensitive), and the store's searchable custom fields.

q[ascend_by_price]
boolean

Set to true to apply ascend_by_price.

q[descend_by_price]
boolean

Set to true to apply descend_by_price.

q[in_categories][]
string[]

Applies in_categories to the given value.

q[in_category]
string

Applies in_category to the given value.

q[in_collection]
string

Applies in_collection to the given value.

q[in_stock]
boolean

Set to true to apply in_stock.

q[in_taxon]
string

Applies in_taxon to the given value.

q[not_discontinued]
boolean

Set to true to apply not_discontinued.

q[out_of_stock]
boolean

Set to true to apply out_of_stock.

q[price_between][]
number[]

Applies price_between to the given value.

Required array length: 2 elements
q[price_gte]
number

Applies price_gte to the given value.

q[price_lte]
number

Applies price_lte to the given value.

q[search_by_name]
string

Applies search_by_name to the given value.

q[with_option_value_ids][]
string[]

Applies with_option_value_ids to the given value.

page
integer

Page number

limit
integer

Records per page (max 100)

sort
string

Sort field; prefix with - for descending

q
object

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

Response

200 - application/json

products listed

data
object[]
required
meta
object
required