---
title: "Update an order note"
method: PUT
path: "/shop/orders/{orderId}/notes/{noteId}"
tags: ["Orders"]
---

# Update an order note

`PUT /shop/orders/{orderId}/notes/{noteId}`

Replace the contents of an existing order note. The `created_by` user and
`created_at` timestamp are preserved — only the body is updated.

## Request body

- object
  - `content` string, required — The new contents of the note. HTML is not permitted — submit plain text only.

## Response `200`

The order note was successfully retrieved.

- object
  - `data` OrderNote, required — A note relating to an order.
    - `id` string, required
    - `content` string, required — The contents of the note.
    - `order_id` string — The order this note belongs too
    - `created_at` string, date-time — The date and time the note was created.
    - `created_by` object
      - `id` string, required — The ID of the user who added the note.
      - `name` string, required — The name of the user who added the note.
    - `created_by_id` string — The ID of the user who added the note.

## Other responses

- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

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