### Copenhagen Truck Wash API Help

# Update self-serve condition

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

## Endpoint

PUT /department/selfserve/conditions

## Operation

Operation ID: `updateSelfserveCondition`

Update an existing self-serve condition.

## Authentication

Security requirements:

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

## Parameters

Name | In | Required | Type | Description
--- | --- | --- | --- | ---
id | query | yes | integer | Condition ID

## Request Body

Required: no.

Content type: `application/json`

{ "properties": { "condition_id": { "nullable": true, "type": "integer" }, "department": { "type": "integer" }, "description": { "type": "string" }, "lane": { "type": "integer" }, "machine_type_id": { "nullable": true, "type": "integer" }, "name": { "type": "string" }, "product": { "type": "integer" } }, "type": "object" }

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Successfully updated condition | application/json
400 |  |
404 |  |
500 |  |

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

{ "$ref": "#/components/schemas/DepartmentSelfserveCondition" }
17 March 2026