Search > Search > suggestContentBlocks
Commerce APISearchSearchsuggestContentBlocks
suggestContentBlocks
POST:suggest/content_blocks.json

Description

Perform a content block suggest query.

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

Permission bit: "content_blocks.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

ContentBlockExpandableItems

Preview (typescript)

Loading module