Get All Products
Get All Products API
The Update Product API allows you to Update a new product in the system. The API accepts a JSON object with the following fields:
URL
POST /api/productsname: The name of the product.description: The description of the product.price: The price of the product.category: The category of the product.
Request
{
"name": "Product Name",
"description": "Product Description",
"price": 100,
"category": "Category Name"
}Response
{
"id": 1,
"name": "Product Name",
"description": "Product Description",
"price": 100,
"category": "Category Name"
}Try it out
Create a new product
Create a new product in the system.
Headers
Query Parameters
Request Body
115 bytes
Last updated on