Copenhagen Truck Wash API Help

Update self-serve task

This endpoint documentation is generated directly from openapi.yaml.

Endpoint

PUT /department/selfserve/tasks

Operation

Operation ID: updateSelfserveTask

Update an existing self-serve task.

Authentication

Security requirements:

Scheme

Scopes

BearerAuth

-

Parameters

Name

In

Required

Type

Description

id

query

yes

integer

Task ID

Request Body

Required: no.

Content type: application/json

{ "properties": { "buttons": { "description": "Button IDs enabled by this task. Set to null to clear all buttons.", "items": { "type": "integer" }, "nullable": true, "type": "array" }, "condition_id": { "nullable": true, "type": "integer" }, "department": { "type": "integer" }, "description": { "type": "string" }, "dynamic_images_vehicle_type": { "description": "Vehicle type selection override. Set to null to clear.", "nullable": true, "type": "integer" }, "lane": { "type": "integer" }, "machine_type_id": { "nullable": true, "type": "integer" }, "order_priority": { "type": "integer" }, "product": { "type": "integer" }, "services": { "description": "Services enabled by this task. Set to null to clear all services.", "items": { "$ref": "#/components/schemas/SelfserveLaneService" }, "nullable": true, "type": "array" }, "task": { "type": "string" } }, "type": "object" }

Responses

Status

Description

Content Types

200

Successfully updated task

application/json

400

404

Schema for response 200 (application/json):

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