add_order_note
File a triage note on an order. Business-rule checks validate the write, returning machine-readable errors for refusals and recording the attempt in the audit log.
Instructions
File a triage note against an order. Writes are gated: if a business rule rejects this call, the error is machine-readable ({ code, message }) and the attempt is recorded in the audit log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| author | Yes | ||
| noteId | Yes | ||
| orderId | Yes |