Search > Search > suggestProducts
Commerce APISearchSearchsuggestProducts
suggestProducts
POST:suggest/products.json

Description

Perform a product suggest query.

This endpoint is useful for product autocompletion UI widgets and is optimized to work in situations alike.

Permission bit: "products.search"

Topic: Search

Arguments

data: Query!

Main argument for mutations.


ignore_bundles: Boolean

Ignore bundle variant types


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


type: VariantTypeFilter

Filter output by variant type


Data Argument Fields

query: String

Search query string

Example: "fancy shoes"


Result

ProductExpandableItems

Preview (typescript)

Loading module