Search > Search > suggestPromotions
Commerce APISearchSearchsuggestPromotions
suggestPromotions
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

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

PromotionExpandableItems

Preview (typescript)

Loading module