Delete Category
Categories
Delete Category
Soft delete a product category
DELETE
Delete Category
Authorization
string
required
Bearer token for authentication. Format:
Bearer qwoty_your_tokenPath Parameters
string
required
Category UUID
Behavior
This endpoint performs a soft delete by setting thedeleted_at timestamp on the category. The category will no longer appear in standard API queries but is not permanently removed from the database.
Examples
Response
boolean
Indicates whether the request was successful
object
Deletion confirmation
Error Responses
Cascade Effects
When a category is deleted:- Products linked to this category through
category_idsretain the reference (soft delete doesn’t cascade) - Child categories (with
parent_category_idpointing to this category) are not automatically deleted - Price percentage rules scoped to this category remain intact

