Skip to main content
PATCH
/
v1
/
notes
/
{id}
Update
curl --request PATCH \
  --url https://{defaultHost}/v1/notes/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "note": {
    "body": "This is different text for this note!"
  }
}
'
{
  "id": "7922d7b7-3d77-4259-a7aa-5d7a13facc80",
  "object": "note",
  "body": "This is different text for this note!",
  "metadata": {},
  "notable_id": "f4bb9d60-cc81-4291-a804-7816697e5a06",
  "notable_type": "customer",
  "created_at": 1767909726,
  "updated_at": 1767909726
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
note
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

notable_type
string

The type of object that this note belongs to – one of customer, order, or subscription.

notable_id
string

The ID of the object that this note belongs to.

body
string

The body of the note.

metadata
object

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.