Delete a business product
API operation: Open the endpoint in Scalar
Use DELETE /business/{business_id}/categories/{category_id}/products/{product_id} to delete a product. The operation documented here is Product.delete.
The documented schema requires administrator or business-manager authentication and checks the business/category/product context. Deletion is destructive; resolve all three IDs before sending a request.
const response = await ordering.businesses(businessId).categories(categoryId).products(productId).delete()
This SDK syntax is historical. Confirm the package and version before using it.
OpenAPI reference
Operation: DELETE /business/{business_id}/categories/{category_id}/products/{product_id}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
business_id | integer | Yes | — |
category_id | integer | Yes | — |
product_id | integer | 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) |