Overview
The Categories API allows you to organize products into hierarchical categories. Categories are managed by administrators and are publicly viewable by all users. Base URL:http://localhost:8083
Create category
Create a new product category. Requires ADMIN role.Body parameters
Category name. Must be unique.
Optional category description
URL-friendly identifier. Auto-generated from name if not provided.
Parent category ID for creating subcategories. Null for top-level categories.
Example
List categories
Get all categories. No authentication required.Example
Get category by ID
Retrieve a specific category by ID.Path parameters
Category ID
Example
Update category
Update an existing category. Requires ADMIN role.Path parameters
Category ID to update
Body parameters
Updated category name
Updated description
Updated slug
Updated parent category ID
Example
Delete category
Delete a category. Requires ADMIN role. Cannot delete categories that have products or subcategories.Path parameters
Category ID to delete
Example
Next steps
Products API
Manage products within categories
Product variants
Manage product variants