Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

Delete product category

Deletes a product category using soft delete. The category is marked as deleted but not permanently removed.

What happens when deleting:

  • Category is marked as deleted (soft delete)
  • Category will no longer appear in lists
  • Products assigned to this category may need to be reassigned
  • Category can potentially be restored if needed

Note: This endpoint requires the manageSettings permission. Consider the impact on existing products before deleting a category. Returns 404 if the category does not exist.

DELETE/administration/product-categories/{id}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Responses
200Product category deleted successfully
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/product-categories/string" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
Product category deleted successfully