Search
Search Products
Search the product catalog using PostgreSQL.
get/v1/search/products/
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/v1/search/products/
- Auth: none declared
Query parameters
qstring nullable
Search query
min_pricenumber nullable
Minimum price
max_pricenumber nullable
Maximum price
tagsstring nullable
Comma-separated tags
store_idinteger nullable
Filter by store ID
latnumber nullable
Latitude for location search
lonnumber nullable
Longitude for location search
distance_kmnumber nullable
Distance in kilometers for location search
sort_bystring nullable
Sort by: price_asc, price_desc, name_asc, created_at, distance, random
include_test_databoolean
Include mock/test data in results
limitinteger
Number of results to return
offsetinteger
Number of results to skip
include_aggregationsboolean
Deprecated; PostgreSQL search does not provide aggregations
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.