Product Category Endpoints
Manage product categories for e-commerce features.
Base Pathβ
/api/product-category
Endpointsβ
List Categoriesβ
GET /api/product-category
Authorization: Bearer {token}
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
page | number | Page number |
limit | number | Items per page |
name | string | Filter by name |
Create Categoryβ
POST /api/product-category
Authorization: Bearer {token}
{
"name": "Electronics",
"description": "Electronic products and accessories",
"imageUrl": "https://example.com/electronics.png"
}
Update Categoryβ
PUT /api/product-category/:id
Authorization: Bearer {token}
Delete Categoryβ
DELETE /api/product-category/:id
Authorization: Bearer {token}
Category Translationsβ
PUT /api/product-category/:id/translations
Authorization: Bearer {token}
{
"languageCode": "es",
"name": "ElectrΓ³nica",
"description": "Productos electrΓ³nicos y accesorios"
}
Related Pagesβ
- Product Endpoints β products API
- Products & Inventory β feature