Search states with sort and filter query

Search query allows developers to search through Rye's product inventory using a query string.

This endpoint optionally takes in a "sort" and "filter" data payload. The syntax for "sort" and "filter" follow exactly what elasticsearch has. For extensive information around sort and filter syntax, please refer to the elasticsearch sort syntax and the elasticsearch filter syntax

Click Try It! to start a request and see the response here!