E153: Add timeline note
POST /api/sales-orders/:id/timeline-notes
Appends a note to an SO's timeline, capturing the SO's current status alongside it. Triggered from Sales Order Detail timeline section.
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.
Request
{ "body": "Customer requested split shipment" }
Response — 201 Created
{ "id": "uuid", "soId": "uuid", "authorId": "uuid", "body": "Customer requested split shipment", "createdAt": "..." }
Errors
| HTTP | code | Condition |
|---|---|---|
| 404 | not_found | No such SO. |
| 422 | validation_failed | Body empty. |
Workflow
Calls W153 Add timeline note.