Category Tree Resources
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]{2,15}$The request was successful. The category tree is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired.
Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
saasdev2If set to true, not published categories are retrieved as well.
Possible values:
truefalse
Note: To get unpublished categories you need to have category.category_read_unpublished scope.
falseExample: trueList of category IDs. If provided, the response returns only the category trees that include at least one of the specified categories.
["d9e4fdd0-e671-4968-9ba1-a5533a7f3b02","0f1056cc-b4b4-488b-9f95-245f6b542702"]To use this endpoint you have to add X-Version header with proper value to your request.
Note: The header value has to match following regular expression: ^v[1-9][0-9]?$
v2Pattern: ^v[1-9][0-9]?$The request was successful. The category tree is returned.
Permission denied due to insufficient rights. This may happen when request does not contain sufficient scopes for given query values.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
saasdev2If set to true, not published categories are retrieved as well.
Possible values:
truefalse
Note: To get unpublished categories you need to have category.category_read_unpublished scope.
falseExample: trueThe Content-Language request HTTP header defines language(s) that can be used in the payload. Request body may contain only translations that are matching the languages specified in the header. Possible values:
*- request body may contain translations for all languages specified in tenant configuration. This is also the default behaviour if the header is not set.en,en,de,fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5- request body may contain only translations for languages specified in the header (if they are available in tenant configuration).
Note: For category requests, localized fields (such as localizedName, localizedDescription, localizedSlug) must always be provided as maps of language codes to values, regardless of the Content-Language header value.
*Example: `*`, `en`, `en,de,fr`, `en-EN`, `fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7`To use this endpoint you have to add X-Version header with proper value to your request.
Note: The header value has to match following regular expression: ^v[1-9][0-9]?$
v2Pattern: ^v[1-9][0-9]?$List of category IDs. If provided, the response returns only the category trees that include at least one of the specified categories.
The request was successful. The category tree is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
saasdev2A unique identifier of a root category, generated when the category is created.
12a24ba108-e6fd-4139-b831-5ac5fded6d34If set to true, not published categories are retrieved as well.
Possible values:
truefalse
Note: To get unpublished categories you need to have category.category_read_unpublished scope.
falseExample: trueThe Content-Language request HTTP header defines language(s) that can be used in the payload. Request body may contain only translations that are matching the languages specified in the header. Possible values:
*- request body may contain translations for all languages specified in tenant configuration. This is also the default behaviour if the header is not set.en,en,de,fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5- request body may contain only translations for languages specified in the header (if they are available in tenant configuration).
Note: For category requests, localized fields (such as localizedName, localizedDescription, localizedSlug) must always be provided as maps of language codes to values, regardless of the Content-Language header value.
*Example: `*`, `en`, `en,de,fr`, `en-EN`, `fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7`To use this endpoint you have to add X-Version header with proper value to your request.
Note: The header value has to match following regular expression: ^v[1-9][0-9]?$
v2Pattern: ^v[1-9][0-9]?$The request was successful. The category tree is returned.
Permission denied due to insufficient rights. This may happen when request does not contain sufficient scopes for given query values.
Category tree with specified id does not exist
Last updated
Was this helpful?

