Register new customer by CVR

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

Endpoint

POST /auth/register/cvr

Operation

Operation ID: `registerCustomerByCvr`

Register a new customer account using Danish CVR number

Authentication

No authentication required.

Request Body

Required: yes.

Content type: `application/json`

{ "properties": { "companyPhone": { "description": "Company phone number", "example": 21754690, "maximum": 9999999999, "minimum": 10000000, "type": "integer" }, "contactEmail": { "description": "Contact email", "example": "contact@company.dk", "format": "email", "maxLength": 255, "minLength": 5, "type": "string" }, "contactName": { "description": "Contact person name", "example": "Mikkel", "type": "string" }, "contactPhone": { "description": "Contact phone number", "example": 21754690, "maximum": 9999999999, "minimum": 10000000, "type": "integer" }, "cvr": { "description": "Danish CVR number", "example": "44794780", "maxLength": 20, "minLength": 8, "type": "string" }, "g_recaptcha_response": { "description": "reCAPTCHA verification token", "type": "string" }, "invoiceEmail": { "description": "Email for invoices", "example": "invoice@company.dk", "format": "email", "maxLength": 255, "minLength": 5, "type": "string" } }, "required": [ "cvr", "companyPhone", "invoiceEmail", "contactEmail", "contactPhone", "contactName", "g_recaptcha_response" ], "type": "object" }

Responses

Status | Description | Content Types
201 | Customer registered successfully | application/json
400 |  |

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

{}