Skip to main content
GET
/
product
/
productCounters
Get product counters
curl --request GET \
  --url https://eu-data.kameleoon.io/product/productCounters

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

siteCode
string
required

The Kameleoon project ID.

eans
string
required

A JSON array of product IDs or EANs. For example, ["ean1","ean2"]. Limit the array to 100 products. JSON array of <product Id / EAN: string>.

timeBegin
integer<int64>

The date to begin querying from (UNIX millisecond timestamp format). This date is inclusive.

timeEnd
integer<int64>

The date to query to (UNIX millisecond timestamp format). This date is exclusive.

prettyPrint
boolean
default:false

Set to true for a "pretty" printed response.

Response

Successful operation, products counters are rendered, of type JSON object {"<product Id / EAN>": <product counters>}, with <product counters> of type JSON object {"v": <number of views = integer⁄int32>, "atcq": <add to cart quantities = integer⁄int32>, "bq": <transaction quantities = integer⁄int32>}