Get a single category
The Category system is the original tree hierarchy used to organize and categorize products. This endpoint gets the details of a specific category by its ID. The response includes basic info (ID, name, localized name (if applicable), list of category attributes, product attributes, associated product IDs, associated child categories, and more.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID
Path Parameters
24-character system-generated category ID
Query Parameters
Comma-separated locale codes of category. The service throws a 400 error if locale isn't supported. Standard locales can be found at https://www.rfc-editor.org/rfc/rfc5646. The recommended way to get the locale is by invoking multi-channel service
Response
Category details
24-character system-generated category ID
Non-localized category name
Localized properties of category
true: Category name is translated into different languages or localized for different regions <br /> false: Category name isn't localized Note: Refer to localizedProperties
to get relevant details based on locale
true: This is a root category <br /> false: This isn't a root category
true: This is the last category of the branch with no further children categories <br /> false: This isn't the last category of the branch and has children categories
true: This is the leaf category of the branch which has some products in it <br /> false: This branch doesn't have any direct products assigned to it
Attributes assigned to the specified category
Attributes assigned for all products in the specified category.
Immediate children of the specified category
Email of user who last update the category
Time of last update to category
Time of category creation
Was this page helpful?