Category

Category information and navigation

Retrieve category detail page

get

Returns category information along with subcategory hierarchy for navigation.

Response Behavior:

1. Landing Page Mode (shallow categories) When the category depth is at or below the configured maximum (Source: Dynamic/Real-time Configuration):

  • Returns category information with subcategories

  • Includes up to 2 levels of nested subcategories

  • Suitable for category landing pages

2. Listing Mode (deep categories) When the category depth exceeds the maximum:

  • Returns product listing (faceted search results)

  • Includes category metadata alongside product results

  • Uses category-specific sort options when configured

Subcategory Structure:

  • First level: Direct children of the requested category

  • Second level: Children of direct children

  • Each subcategory includes navigation URLs

Path parameters
category_idintegerRequired

Unique identifier of the category to retrieve.

Example: 150
Responses
200

Category detail retrieved successfully

application/json
get
/category/{category_id}/

Retrieve categories for a product

get

Returns all category nodes associated with a specific product.

Response Order: Categories are returned ordered by their path, ensuring hierarchical consistency for breadcrumb display.

Path parameters
product_idintegerRequired

Unique identifier of the product.

Example: 12345
Responses
200

Product categories retrieved successfully

application/json
get
/products/{product_id}/category_nodes/
200

Product categories retrieved successfully

Last updated

Was this helpful?