Skip to main content
POST
/
commerce
/
rules
/
product
/
evaluate
/
preview
Error
A valid request URL is required to generate request examples
{
  "facets": [
    {
      "label": "<string>",
      "facetType": "<string>",
      "field": "<string>",
      "values": [
        {
          "label": "<string>",
          "isApplied": true,
          "count": 123,
          "value": "<string>",
          "filterValue": "<string>",
          "rangeQueryValueStart": "<string>",
          "rangeQueryValueEnd": "<string>",
          "parentFacetValue": "<string>",
          "isDisplayed": true,
          "childrenFacetValues": [
            {}
          ]
        }
      ]
    }
  ],
  "searchRedirect": "<string>",
  "nextCursorMark": "<string>",
  "startIndex": 123,
  "pageSize": 123,
  "pageCount": 123,
  "totalCount": 123,
  "items": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Query Parameters

sortBy
string
pageSize
integer<int32>
startIndex
integer<int32>
default:0
fieldList
string
responseFields
string

limits which fields are returned in the response body

Body

application/json
code
string | null

Unique identifier of the ProductRule. System-supplied and read-only.

name
string | null

ProductRule name

description
string | null

ProductRule description

scope
string | null
expression
object

Category

Response

Success

facets
object[] | null
searchRedirect
string | null
nextCursorMark
string | null
startIndex
integer<int32>
pageSize
integer<int32>
pageCount
integer<int32>
totalCount
integer<int32>
items
object[] | null