# Product Category Endpoints {#product-category-endpoints}


Manage product categories for e-commerce features.


## Base Path {#base-path}


```
/api/product-category
```


## Endpoints {#endpoints}



### List Categories {#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 {#create-category}


```
POST /api/product-category
Authorization: Bearer {token}
```

```json
{
  "name": "Electronics",
  "description": "Electronic products and accessories",
  "imageUrl": "https://example.com/electronics.png"
}
```


### Update Category {#update-category}


```
PUT /api/product-category/:id
Authorization: Bearer {token}
```


### Delete Category {#delete-category}


```
DELETE /api/product-category/:id
Authorization: Bearer {token}
```


### Category Translations {#category-translations}


```
PUT /api/product-category/:id/translations
Authorization: Bearer {token}
```

```json
{
  "languageCode": "es",
  "name": "Electrónica",
  "description": "Productos electrónicos y accesorios"
}
```


## Related Pages {#related-pages}


- [Product Endpoints](https://sourcey-gauzy.pages.dev/api/product-endpoints/index.md) — products API
- [Products & Inventory](https://sourcey-gauzy.pages.dev/features/products-and-inventory/index.md) — feature
