Skip to main content

Delete a business category

API operation: Open the endpoint in Scalar

Use DELETE /business/{business_id}/categories/{category_id} to delete a category. The operation documented here is Category.delete.

The documented schema requires administrator or business-manager authentication and verifies the category/business context. Deletion is destructive and can affect nested catalog organization; resolve both IDs before sending a request.

const response = await ordering.businesses(businessId).categories(categoryId).delete()

This SDK syntax is historical. Confirm the package and version before using it.

OpenAPI reference​

Operation: DELETE /business/{business_id}/categories/{category_id}

Path parameters

NameTypeRequiredDescription
business_idintegerYes—
category_idintegerYes—

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