Получить подкатегории
GET/v1/subcategory
Получить все доступные подкатегории
Request
Responses
- 200
- 400
- 401
- 403
- 500
Successful operation. Returns subCategories.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id integerrequired
name stringrequired
status booleanrequired
countProducts integerrequired
[
{
"id": 0,
"name": "string",
"status": true,
"countProducts": 0
}
]
Bad request. Invalid input or missing required fields.
Unauthorized. User is not authenticated.
Forbidden. User does not have permission to update category status.
Internal server error.
Loading...