Nakupy|Favourites

List shop favourites

Get daily number of users who favourited your shop and still have it as favourite.

get/nakupy/favourites/

Request

  • Base URL: https://api.sklik.cz/v1
  • URL: https://api.sklik.cz/v1/nakupy/favourites/
  • 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.

fromDatestring date nullable

Date to collect favourites from. Must be earlier than toDate and no more than one year before toDate. Default value: one year before toDate.

Example:2025-09-01
toDatestring date

Date to collect favourites to. Must not be in the future. Default value: today.

Example:2026-09-01

Response

Successful Response

Example response

{
  "items": [
    {
      "currentFavourGain": 123,
      "date": "2026-07-23"
    }
  ],
  "meta": {
    "fromDate": "2026-07-04",
    "toDate": "2026-07-23",
    "totalCurrentFavourGain": 192831
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.