POST:suggest/content_blocks.json
Commerce APIPOST:suggest/content_blocks.json

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

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Query

{
  "query": "fancy shoes"
}

Response Body

ContentBlockExpandableItems

Response Body Type

Loading module