Skip to main content

Update Business Type

API operation: Open the endpoint in Scalar

Use POST /business_types/{business_type_id} to update a business type. The current public operation is BusinessType.update.

This operation requires administrator authentication. Mutable fields include name, description, enabled, and image; validation and image handling depend on the submitted fields.

OpenAPI reference​

Operation: POST /business_types/{business_type_id}

Path parameters

NameTypeRequiredDescription
business_type_idintegerYes—

Request body fields

NameTypeRequired
descriptionanyNo
enabledbooleanNo
imageanyNo
nameanyNo

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference