post

/stats/_getProductViews

Get a list of the most popularly viewed products and how many times they were viewed. Views by bots (googlebot, bingbot, etc) will be filtered out by default.

Authorization

apiKey - Authorization

Request Body

1 Example
Schema
object
target
string

Possible values:sku or productId

1 validation
window
string

Possible values: week, month, or day.

1 validation

Responses

1 Example
Schema
object
serverTimestamp
string
result
array[object]
status
object

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
2 variables not set
customerid
Authorization