Get deployable categories for product deployment
GET/v1/categories/deployable
Returns a flat list of leaf categories only (categories without children) that can be used for deploying products to marketplace platforms. *
- Use Case: Use this endpoint to find the correct category_id when deploying products via
/v2/deploy-products. - Key Features:
-
- Only returns leaf categories - categories that can be used for product deployment
-
- Optimized for product deployment workflows
-
- Returns flat list with pagination (no nested tree structure)
-
- Includes full category path for context
-
- Fast performance with eager loading to avoid N+1 queries
-
- Supports search and filtering
- Important Notes:
-
- This API always returns leaf categories only (is_leaf=1) - you cannot change this behavior
-
- Parent categories (categories with children) cannot be used for product deployment
-
- Different platforms have different category structures
-
- The
is_leaffield in response is calculated dynamically based on whether the category has children
- The
-
- Use the
category_idfield when creating products via deploy API
- Use the
-
- platform_id is REQUIRED - API will return 400 error if not provided
Request
Responses
- 200
- 400
- 401
Deployable categories retrieved successfully
Validation error - platform_id is required
Unauthenticated