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