# List of product categories Returns the list of product categories. Endpoint: GET /api/categories Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.categories` (array, required) - `data.categories.guid` (string,null, required) unique category identificator - `data.categories.name` (string, required) category name - `data.categories.image` (string,null, required) header image (can be ) - `data.categories.description` (string,null, required) top category description (can be ) - `data.categories.secondDescription` (string,null, required) bottom category description (can be ) - `data.categories.indexName` (string, required) ending part of category URL - `data.categories.url` (string, required) category URL in the e-shop - `data.categories.parentGuid` (string,null, required) unique identifier of the parent category (, if there is no parent category) - `data.categories.priority` (number,null, required) priority (specifies the order of categories) - `data.categories.menuTitle` (string,null, required) category name in the e-shop menu - `data.categories.title` (string,null, required) HTML title element in the HTML header of the category page - `data.categories.metaTagDescription` (string,null, required) HTML META header in category page - `data.categories.visible` (boolean, required) flag, whether the category is visible - `data.categories.similarProductsCategory` (string,null, required) GUID category, in which the products are similar to this category (can be ) - `data.categories.relatedProductsCategory` (string,null, required) GUID category, in which the products are related to this category (can be ) - `data.categories.customerVisibility` (string,null, required) defines, which users of the e-shop have the category shown - = all, = registered users, = non-registered users - `data.categories.productOrdering` (string,null, required) Defines, how products are sorted in a category. See also [Sorting of products in category](#section/code-lists/sorting-of-products-in-category) code list. - `data.categories.catalogueMapping` (array, required) pairing to search engines such as Zboží, Heuréka, Google, etc. (can be ) - `data.categories.catalogueMapping.provider` (string, required) provider type - `data.categories.catalogueMapping.category` (string, required) provider category - `data.paginator` (object, required) - `data.paginator.totalCount` (integer, required) total number of available records - `data.paginator.page` (integer, required) current page - `data.paginator.pageCount` (integer, required) total available of pages - `data.paginator.itemsOnPage` (integer, required) number of currently returned records - `data.paginator.itemsPerPage` (integer, required) required number of records per page - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced