Search
The Search module provides product discovery for storefront-facing applications. It supports keyword search, faceted filters, autocomplete suggestions, and product listing pages backed by Vertex AI retail search.
Operations
GET
# Lists all products.
GET
# Retrieves search result listings.
List all products available in the catalog. It supports filtering based on product name, brand, department, category, collection, and more, while also offering sorting options based on factors like price, ratings, discounts, and other relevant criteria.
Parameters
q
string
The search query for entering partial or full name of product, brand, category, or collection.
f
string
The search filter parameters. Filter parameters will be passed in f parameter as shown in the example below. Double Pipe (||) denotes the OR condition, whereas Triple-colon (:::) indicates a new filter parameter applied as an AND condition.
filters
boolean
True for fetching all filter parameters and False for disabling the filter parameters.
Default Value : true
sort_on
string
The order in which the list of products should be sorted, e.g. popularity, price, latest and discount, in either ascending or descending order. See the supported values below.
Enum
page_id
string
Page ID to retrieve next set of results.
page_size
integer
The number of items to retrieve in each page.
Default Value : 12
page_no
integer
The page number to navigate through the given set of results.
Default Value : 1
page_type
string
Available pagination types are cursor or number.
Default Value : cursor
Enum
store_ids
string
Comma-separated store / channel IDs (e.g. "AJIO,AJIO_INTL")
Response
200
Success. Returns a paginated list of products.
SearchProductListing
items
array of object
filters
array of object
page
object
sort_on
array of object
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
Parameters are not required.
Was this section helpful?
GET
Response
Lists all products.
getProducts
Get products, brands, or categories based on a search query, which can be a partial or full name match.
Parameters
q
string
Required
The search query for entering partial or full name of a product, brand or category. For example, if the given search query `q` is _ski_, the relevant search suggestions could be _skirt_, _ski shoes_, _skin cream_ etc.
store_ids
string
Comma-separated store / channel IDs (e.g. "AJIO,AJIO_INTL")
Response
200
Success. Returns a list of autocomplete suggestions for the search query `q`.
SearchAutoComplete
items
array of object
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
Parameters are not required.
Was this section helpful?
GET
Response