products
Get products by category
Get products by category.
get/products/categories/{category}
Path parameters
categorystring required
The category of the products to be retrieved
Example:Category 1
Response
Products retrieved successfully
Example response
{
"products": [
{
"id": "1",
"name": "Product 1",
"description": "This is a product",
"price": 100,
"stock": 100,
"category": "Category 1"
}
]
}