Search > Search > suggestCategories
Commerce APISearchSearchsuggestCategories
suggestCategories
POST:suggest/categories.json

Description

Perform a category suggest query.

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

Permission bit: "categories.search"

Topic: Search

Arguments

data: Query!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

query: String

Search query string

Example: "fancy shoes"


Result

CategoryExpandableItems

Preview (typescript)

Loading module