# Add category to department | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# Add category to department

This endpoint documentation is generated directly from `openapi.yaml`.

## Endpoint

POST /departments/categories

## Operation

Operation ID: `addDepartmentCategory`

Associate a product category with a department

## Authentication

Security requirements:

Scheme | Scopes
--- | ---
BearerAuth | -

## Request Body

Required: yes.

Content type: `application/json`

{ "properties": { "category_id": { "type": "integer" }, "department_id": { "type": "integer" } }, "type": "object" }

## Responses

Status | Description | Content Types
--- | --- | ---
201 | Category added to department successfully | application/json

Schema for response `201` (`application/json`):

{}
17 March 2026