Sorting

You can alter the sequence in which products are displayed by passing the sort parameter.

Sort by a single value

&sort=price+asc
&sort=sale_price+desc
&sort=launch_date+asc
&sort=brand+asc

Sort by multiple values

#Multiple values must be comma-separated
#Sorting values are applied in reverse sequence of the list
&sort=reviews+desc,sale_price+desc

Example request

GET https://core.dxpapi.com/api/v1/core/?
account_id=<Bloomreach Provided Account ID>
&auth_key=jazzhands
&domain_key=example_com
&request_id=8830241055597
&_br_uid_2=uid=7797686432023:v=11.5:ts=1428617911187:hc=55
&ref_url=http://www.example.com/home
&url=http://www.example.com/index.html?q=dresses
&request_type=search
&rows=20
&start=0
&fl=pid,title,brand,price,sale_price,colors,sizes,thumb_image,price_range,sale_price_range
&q=dresses
&search_type=keyword
&sort=sale_price+asc