Skip to Content
ApisOrdersUpdate Order

Update Order

Update Order API

The Update Order API allows you to update an existing order in the system. The API accepts a JSON object with the following fields:

URL

POST /api/orders
  • id: The id of the order.
  • status: 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