POST:search/questions.json
Commerce APIPOST:search/questions.json

POST:search/questions.json

Description

Perform a question search query getting metadata back.

Permission bit: "product_questions.search"

Topic: Search

Query Parameters

limit: Int

Return up to N entries (pagination). See also: Pagination

Example: ?limit=5


offset: Int

Skip N entries (pagination). See also: Pagination

Example: ?offset=5


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY


sort_by: SearchQuestionsSortBy

Whether to sort output in some specific way. See also: Pagination

Example: ?sort_by=created_at


sort_desc: Boolean

Whether to use descending sort order. See also: Pagination

Example: ?sort_desc=true

Request Body

Array of SearchOption

[
  {
    "boolean": true,
    "context": "",
    "name": "total_price",
    "nil": true,
    "now": true,
    "number": 3.1415,
    "op": "and",
    "parent_index": 5,
    "text": "",
    "zero": true
  }
]

Response Body

ProductQuestionSearchResult

Response Body Type

Loading module