Item statistics

Retrieve item field statistic

๐Ÿ” This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: catalog(r).

Retrieve a list of statistics for a specific field (such as brand or size).

get/v1/items_fields_stats/{name}

Request

  • Base URL
    https://ac.cnstrc.com
  • URL
    https://ac.cnstrc.com/v1/items_fields_stats/{name}
  • Auth
    • HTTP basic
    • or HTTP bearer

Path parameters

namestring required

Query parameters

keystring required

The key of the index to use.

Example:key_K2pX7vBnU0bgA5xp
sectionstring

The section of the index to use. Defaults to Products.

Example:Products
cstring

The ID of the client and version that the request is coming from, such as cio-js-2.90.

Example:cio-js-2.90

Response

OK

namestring required

The item field name on which stats are computed

percentage_presencenumber

Percentage presence

type'number' | 'string' | 'array' | 'object' | 'boolean' | 'mixed'
example_itemsstring[]
created_atstring date-time required

Item field stats creation date and time

updated_atstring date-time

Item field stats last update date and time

Changes

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