Copenhagen Truck Wash API Help

Add vehicle

This endpoint documentation is generated directly from openapi.yaml.

Endpoint

POST /vehicles

Operation

Operation ID: addVehicle

Create a new vehicle for a customer. Permissions: - Own scope: `add_vehicle` (linked to subuser node `VEHICLES_ADD`). - Broader scope: `add_vehicle_other`.

Authentication

Security requirements:

Scheme

Scopes

BearerAuth

-

Parameters

Name

In

Required

Type

Description

no

object

Request Body

Required: yes.

Content type: application/json

{ "properties": { "customer_id": { "description": "Optional explicit target customer. Defaults to the effective customer context.", "type": "integer" }, "reference": { "maxLength": 255, "nullable": true, "type": "string" }, "reg": { "description": "Vehicle registration number", "maxLength": 12, "minLength": 2, "type": "string" }, "type": { "description": "Product ID representing the vehicle wash type", "type": "integer" }, "wash_subscription": { "type": "boolean" } }, "required": [ "reg", "type", "wash_subscription" ], "type": "object" }

Responses

Status

Description

Content Types

200

Vehicle created

application/json

400

403

Schema for response 200 (application/json):

{}
17 March 2026