This endpoint requires authentication with notes:write permission.
Request Parameters
The title or subject of the note
The main content or body of the note
ID or name of the user creating the note (auto-filled if not provided)
Optional ID of the resource this note is associated with (e.g., order ID)
Response
Unique identifier for the created note
Timestamp when the note was created
Timestamp when the note was last updated
User who created the note
User who last modified the note
Request Example
curl --location --request POST 'https://api.stateset.com/v1/notes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"title": "Important Update",
"body": "Customer requested expedited shipping",
"associated_id": "order_123"
}'
Response Example
{
"id": "note_001",
"title": "Important Update",
"body": "Customer requested expedited shipping",
"created_date": "2024-01-01T12:00:00Z",
"last_modified_date": "2024-01-01T12:00:00Z",
"created_by": "user_123",
"last_modified_by": "user_123"
}