Удалить товары по подкатегории
DELETE/v1/subCategory/products
Удаление товаров по подкатегории.
Request
- application/json
Body
ID подкатегории, из которой необходимо удалить товар.
subCategoryId integerrequired
Responses
- 200
- 400
- 401
- 403
- 500
Successful operation. Returns the message.
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
{
"message": "string"
}
Bad request. Invalid input or missing required fields.
Unauthorized. User is not authenticated.
Forbidden. User does not have permission to delete products.
Internal server error.
Loading...