Nakupy|Categories

List categories details

Returns detailed information about categories specified by their categories IDs.

This endpoint is designed to be used for querying categories details in bulk.

It accepts up to 10 category IDs and returns matching category data.

get/nakupy/categories/

Request

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

categoryIdinteger[] required

List of up to 10 unique category IDs to retrieve information for

showParametersboolean

When true, every returned category also contains the parameters field with parameters usable for offers in that category. The field is omitted from the response otherwise.

premiseIdinteger required

ID of the shop on whose behalf the request is made.

Response

Successful Response

Example response

{
  "items": [
    {
      "categoryId": 123456,
      "path": [
        "Telefony",
        "Navigace",
        "Mobilní telefony"
      ],
      "parameters": [
        {
          "defaultUnit": "GHz",
          "enum": [
            "černá",
            "stříbrná"
          ],
          "maxValue": 5,
          "minValue": 0.1,
          "name": "frekvence procesoru",
          "units": [
            {
              "name": "gigahertz",
              "unit": "GHz"
            }
          ]
        }
      ]
    }
  ]
}

Changes

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