Nakupy|Statistics
Create a new request for item statistics report grouped by categories.
Create a new request for shop item statistics report grouped by categories.
Can be listed as shopCategory report type.
Report can be downloaded using GET method for all reports on /sklik/reports endpoint.
post/nakupy/statistics/category
Request
- Base URL: https://api.sklik.cz/v1
- URL: https://api.sklik.cz/v1/nakupy/statistics/category
- Auth: OAuth 2 (authorization code, authorization URL https://www.sklik.cz/oauth/api, token URL /user/token; client credentials, token URL /user/token)
Query parameters
premiseIdinteger required
ID of the shop on whose behalf the request is made.
Request body
Example request
{
"from": "2023-03-09T11:20:17Z",
"to": "2023-03-21T17:42:31Z",
"splitStats": [
"deviceType",
"webType",
"productType",
"conversionId"
],
"conversionIds": [
100113933,
100115363
]
}Response
Successful Response
Example response
{
"id": 123456,
"meta": {
"from": "2023-03-09T11:20:17Z",
"to": "2023-03-21T17:42:31Z",
"splitStats": [
"deviceType",
"webType",
"productType",
"conversionId"
],
"conversionIds": [
100113933,
100115363
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.