---
title: "Updates the name or preceding order of an order."
method: PATCH
path: "/order/{orderId}"
tags: ["Order"]
---

# Updates the name or preceding order of an order.

`PATCH /order/{orderId}`

## Path parameters

- `orderId` string, required

## Request body

- UpdateOrderEndpointInput
  - `name` string — The new name of the order, if specified.
  - `precedingOrderId` string, nullable — The ID of the order that must complete before this order starts processing. Set to null to clear an existing preceding order.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/versions/e42ec51c7b88/schema)
