Skip to main content
PATCH
/
2025-09
/
notes
/
{note_id}
curl --request PATCH \
  --url https://public-api.stora.co/2025-09/notes/{note_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "Updated note content.",
  "resource": {
    "id": "unit_8667dc92f0d56a80"
  },
  "metadata": {
    "source": "updated"
  }
}
'
{
  "note": {
    "id": "note_195h6kfm9ro15lof",
    "content": "Updated note content.",
    "created_at": "2025-02-22T14:41:00Z",
    "creator": {
      "id": "tok_7f6e5fb4bb548dbc"
    },
    "metadata": {
      "source": "updated"
    },
    "resource": {
      "id": "unit_8667dc92f0d56a80"
    },
    "updated_at": "2025-02-22T14:41:00Z"
  },
  "meta": {
    "request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
    "curies": [
      {
        "name": "bo",
        "href": "https://app.stora.test{rel}",
        "templated": true,
        "title": "Backoffice"
      },
      {
        "name": "sf",
        "href": "https://acme.stora.test{rel}",
        "templated": true,
        "title": "Storefront"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Path Parameters

note_id
string
required

The ID of the note to retrieve

Body

application/json

Update Note Request

content
string

The content of the note

resource
object
metadata
object

Set of key-value pairs for storing additional information on the note. Learn more about metadata.

Response

Note updated

Single Note

note
object

Note

meta
object