Nakupy|Diagnostics

Diagnostics data of shop offers

Return diagnostics data of shop offers.

get/nakupy/diagnostics/item

Request

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

Response

Successful Response

assignableToCategoryinteger required

Total number of offers assignable to category.

canBeImprovedinteger required

Number of offers, that can be improved.

canBeImprovedPercentageinteger required

Percentage of offers, that can be improved (Percentage is calculated from total of all offers).

errorinteger required

Number of offers with error.

errorPercentageinteger required

Percentage of offers with error (Percentage is calculated from total of all offers).

notVisibleinteger required

Number of not visible offers.

notVisiblePercentageinteger required

Percentage of not visible offers (Percentage is calculated from total of all offers).

okinteger required

Number of offers, that are completely OK.

okPercentageinteger required

Percentage of offers, that are completely OK (Percentage is calculated from total of all offers).

totalinteger required

Number of all offers.

withoutCategoryinteger required

Number of offers, that are assignable to category, and don't have any category assigned.

withoutCategoryPercentageinteger required

Percentage of offers, that don't have any category assigned(Percentage is calculated from total of offers assignable to category).

Example response

{
  "assignableToCategory": 10000,
  "canBeImproved": 2500,
  "canBeImprovedPercentage": 10,
  "error": 2500,
  "errorPercentage": 10,
  "notVisible": 10000,
  "notVisiblePercentage": 40,
  "ok": 20000,
  "okPercentage": 80,
  "total": 25000,
  "withoutCategory": 5000,
  "withoutCategoryPercentage": 50
}

Changes

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