products
Update a product
Updates a product entry.
put/products
Request body
Example request
{
"id": "1",
"name": "Product 1",
"description": "This is a product",
"price": 100,
"stock": 100,
"category": "Category 1"
}Response
Product updated successfully
Example response
{
"status": "success",
"status_code": 200
}