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": "ddc66384-3162-465d-b7ab-c68aa3dbf698",
  "object": "note",
  "body": "This is different text for this note!",
  "metadata": {},
  "notable_id": "944ed8d8-2f4c-4498-a9e8-49c51baa32ce",
  "notable_type": "customer",
  "created_at": 1775218908,
  "updated_at": 1775218908
}

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.