DELETE productcategories/{categoryID}?deleteChildren={deleteChildren}
This call allows you to delete a specific category. If you try to delete a category with children without specifying the delete children flag as true it will fail.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
categoryID | The category ID that you wish to delete | integer | Required |
deleteChildren | Set this to true if we wish to recursively delete all of the categories children. | boolean | Default value is False |
Body Parameters
None.
Response Information
Resource Description
This call allows you to delete a specific category. If you try to delete a category with children without specifying the delete children flag as true it will fail.
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>