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

POST:suggest/promotions.json

Description

Perform a promotion suggest query.

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

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

PromotionExpandableItems

Response Body Type

Loading module