Using this endpoint, you can get list of all product categories with detailed info of each category (like in Product category detail endpoint) asynchronously. See how Asynchronous requests work on our developer's portal.
Response will be in jsonlines format with each category taking one line of output file.
One category in response has the same format as product category detail response. See Category snapshot schema for more details.
All categories of the e-shop are included regardless of their visibility, so the whole category tree can be rebuilt from parentGuid. The endpoint takes no filters, same as the list of product categories.
Result file is compressed using GZIP.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/categories/snapshot
- https://api.myshoptet.comhttps://api.myshoptet.com/api/categories/snapshot
curl -i -X GET \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/categories/snapshot \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": { "jobId": "ad24xod" }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }