---
title: "GET /v2/{+catalog}:completeQuery"
method: GET
path: "/v2/{+catalog}:completeQuery"
tags: ["projects"]
---

# GET /v2/{+catalog}:completeQuery

`GET /v2/{+catalog}:completeQuery`

Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.

## Path parameters

- `catalog` string, required

## Query parameters

- `dataset` string
- `deviceType` string
- `enableAttributeSuggestions` boolean
- `entity` string
- `languageCodes` string[]
- `maxSuggestions` integer
- `query` string
- `visitorId` string

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/retail.md) · [All operations](https://skmtc.net/google/apis/retail/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/retail/versions/146c67e59640/schema)
