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"
}'
{
"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"
}
Create a new note record for annotations or comments
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"
}'
{
"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"
}
notes:write permission.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"
}'
{
"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"
}