Skip to content
Content & StorefrontSearch

Get product search suggestions

Returns product suggestions while the shopper types a search query.

GET/v1/search/autocomplete
No token

Query Parameters

search*string

Free-text search.

limit?integer

Maximum number of results to return.

Formatint32

Header Parameters

x-Store-Domain*string

Slug of the store or one of its configured domains, such as my-store.

Length1 <= length <= 253

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://storefront.ecomiq.pe/v1/search/autocomplete?search=polo" \  -H "x-Store-Domain: my-store"
[  {    "id": "7204558912004322244",    "name": "Mi tienda",    "slug": "polo-de-algodon",    "url": "https://mi-tienda.ecomiq.app/products/polo-de-algodon",    "imageUrl": "https://mi-tienda.ecomiq.app/images/polo-de-algodon.webp"  }]