Content & StorefrontSearch
Get product search suggestions
Returns product suggestions while the shopper types a search query.
GET
/v1/search/autocompleteReturns product suggestions while the shopper types a search query.
Query Parameters
search*string
Free-text filter. Which fields it covers depends on the resource.
limit*integer
Maximum number of results to return.
Format
int32Header Parameters
x-Store-Domain*string
Store slug or configured domain that selects the store context at the central Storefront gateway.
Length
1 <= length <= 253Response 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://example.com/v1/search/autocomplete?search=polo&limit=1" \ -H "x-Store-Domain: my-store"[ { "id": "7204558912004325301", "name": "Example resource", "slug": "example-resource", "imageUrl": "https://example.com/resource" }]