---
title: "Update a supplier"
method: PUT
path: "/api/create-supplier/"
tags: ["Supplier Management"]
---

# Update a supplier

`PUT /api/create-supplier/`

## Request

- Base URL: `https://api.auravms.com`
- URL: `https://api.auravms.com/api/create-supplier/`
- Auth: HTTP bearer

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `supplier_id` string, uuid, required
  - `fields_updated` string[], required
  - `company_name` string
  - `person_of_contact` string
  - `phone_no` string
  - `email` string, email
  - `categories` string[]
  - `remark` string
  - `location` string, nullable: Include "location" in fields_updated. An empty string or null clears it.

## Response `200`

Supplier updated

## Other responses

- `409`: Idempotency key is processing or was already used with a different request body

---

[API](https://skmtc.dev/auravms/apis/auravms-api.md) · [All operations](https://skmtc.dev/auravms/apis/auravms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/auravms/apis/auravms-api/revisions/794a4470e3af?raw)
