Skip to content

Product category detail

Request

Returns category info

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
categoryGuidstringrequired

Product category.

Example:5c498fb7-70ac-11e9-9208-08002774f818
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X GET \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/categories/5c498fb7-70ac-11e9-9208-08002774f818 \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
dataobject(category)required
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": { "guid": "0198418d-acde-708e-9389-0c5113d9b5f3", "name": "Category name", "image": "https://beta.shoptet.cz/user/categories/thumb/supreme-plush-santa-hat.jpg", "description": "<p>Horní popis kategorie</p>", "secondDescription": "<p>Dolní popis kategorie</p>", "indexName": "sport-a-relax", "url": "https://beta.shoptet.cz/sport-a-relax", "parentGuid": "0198566d-2eeb-73ed-8dc4-0c94b5a7e035", "priority": 1, "menuTitle": "Watches", "title": "Purple M size T-shirts - cotton", "metaTagDescription": "T-shirts, cotton, M size, purple, pink, wine red", "visible": true, "similarProductsCategory": "07f7a4c1-d7b1-11e0-9a5c-feab5ed617ed", "relatedProductsCategory": "07f7a4c1-d7b1-11e0-9a5c-feab5ed617ed", "customerVisibility": "all", "productOrdering": "alphabetically", "catalogueMapping": [ … ] }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }