Skip to content
On this page

Update Supplier ​

Update an existing supplier.

Endpoint ​

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

Request Body ​

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

Example ​

json
{
  "name": "Updated Supplier",
  "phone": "+987654321",
  "connectable": false
}

Response ​

json
{
  "status": "success",
  "data": {
    "_id": "string",
    "name": "Updated Supplier",
    ...
  }
}

Released under the MIT License.