Skip to Content
ApisProductsUpdate Product

Update Product

Update Product 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/products
  • name: 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