Skip to content
On this page

Update Order ​

Update an existing order.

Endpoint ​

PUT /api/orders/update/?id={id}

Request Body ​

Include only the fields you want to update.
See Create Order for field details.

Example ​

json
{
  "status": "SHIPPED",
  "shippingStatus": "IN_TRANSIT",
  "adminNote": "Order shipped via DHL"
}

Response ​

json
{
  "status": "success",
  "data": {
    "_id": "string",
    "status": "SHIPPED",
    ...
  }
}

Released under the MIT License.