Copenhagen Truck Wash API Help

Set user discount

This endpoint documentation is generated directly from openapi.yaml.

Endpoint

POST /superuser/user/discounts

Operation

Operation ID: setUserDiscount

Set user discount

Authentication

Security requirements:

Scheme

Scopes

BearerAuth

-

Request Body

Required: yes.

Content type: application/json

{ "properties": { "discount": { "type": "integer" }, "is_category": { "type": "boolean" }, "object_id": { "type": "string" }, "user_id": { "type": "integer" } }, "required": [ "discount", "object_id", "is_category" ], "type": "object" }

Responses

Status

Description

Content Types

200

Success

application/json

Schema for response 200 (application/json):

{}
17 March 2026