Create Business Type
API operation: Open the endpoint in the API reference
Use POST /business_types to create a business type. The current public operation is BusinessType.register.
If available, the operation requires administrator authentication and currently requires name. Optional fields include description, enabled, and image; see the operation guide for validation and image handling.
This operation creates a business type, not a business.
OpenAPI reference
Operation: POST /business_types
Request body fields
| Name | Type | Required |
|---|---|---|
description | any | No |
enabled | boolean | No |
image | any | No |
name | any | Yes |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |