---
title: "Update order status"
method: PATCH
path: "/order-status/{id}"
tags: ["Order Status Controller"]
---

# Update order status

`PATCH /order-status/{id}`

Update an existing order status. System-defined statuses cannot be updated.

## Path parameters

- `id` number, required

## Request body

- CreateUpdateOrderStatusDto
  - `status` string, required — Order status name
  - `backgroundColor` string — Background color for the status (hex color code)
  - `textColor` string — Text color for the status (hex color code)
  - `borderColor` string — Border color for the status (hex color code)
  - `isSystemDefined` boolean — Whether this status is system defined

## Response `200`

Order status updated successfully

## Other responses

- `400` — Order status with this name already exists
- `404` — Order status not found

---

[API](https://skmtc.dev/findmydocument/apis/land-registry-api.md) · [All operations](https://skmtc.dev/findmydocument/apis/land-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/findmydocument/land-registry-api/revisions/b55a990514fb/schema)
