API

Delete category

POST/api/crm/v2/categories.deletev2
operationId: categories.delete

Deletes a category along with all its subcategories, as well as product images for desktop and mobile devices. If the category has neither products nor subcategories, error 12 is returned.

Authorization

api-token + language + role

Query parameters

branch_idintegerrequired

Example: 1

Request body application/json

object
idintegerrequired

Example: 1

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject