---
title: "Get autocomplete suggestions"
method: GET
path: "/suggestion/autocomplete/{id}"
tags: ["Suggestions"]
---

# Get autocomplete suggestions

`GET /suggestion/autocomplete/{id}`

## Path parameters

- `id` integer, required

## Response `200`

OK

- AutocompleteSuggestionApiModel — Autocomplete suggestion
  - `Id` integer — Autocomplete suggestion id
  - `CategoryId` integer — Category id
  - `Items` AutocompleteSuggestionItemApiModel[] — Autocomplete suggestion items
    - `ItemId` integer — Autocomplete suggestion item id.
    - `Type` 'SearchPhrase' | 'Category' | 'Facet' | 'Product' — Gets or sets the type of the autocomplete suggestion item.
    - `GroupName` string — Gets or sets the group name.
    - `AttributeId` integer — Gets or sets the attribute ID.
    - `SuggestionsToShow` integer — Gets or sets the number of suggestions to show.
    - `GroupFirstResultOnCategory` boolean — Gets or sets a value indicating whether to group the first result on category.
    - `Active` boolean — Gets or sets a value indicating whether the item is active.
    - `Order` integer — Gets or sets the order of the item.
    - `ExcludedCategories` integer[] — Gets or sets the excluded categories.
    - `PrioritizedCategories` AutocompleteSuggestionItemCategoryOrderApiModel[] — Gets or sets the prioritized categories.
      - `CategoryId` integer — Category id
      - `Order` integer — Category Order

## Other responses

- `404` — Autocomplete suggestions not found

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
