Order Comments

Add manual audit trail notes and customer communication to orders via the UI or API, with email and SMS notification support.

Order Comments

Comments provide a manual audit trail and customer communication channel on orders. There are two types of comments, stored separately:

TypeInternal NameVisibilityUse Case
PublicPublicOrderNotesStaff + CustomerCustomer-facing communication (can send email/SMS notifications)
InternalOrderNotesStaff onlyInternal notes, handoff information, issue tracking

API: Adding Comments

Endpoint: POST /api/Orders/AddComment

Request model (OmniumOrderCommentRequest):

PropertyTypeRequiredDescription
orderIdstringYesThe order to add the comment to
commentTextstringYesThe comment content
commentTypeenumNoPublic (default) or Internal
createdBystringNoComment author. Defaults to the API user's username
tagslistNoTags for categorizing/filtering comments
marketIdstringNoMarket ID. Falls back to order's market
sendEmailboolNoSend email notification to customer
emailSubjectstringNoEmail subject line
emailTostringNoRecipient email. Falls back to order's customer email
emailCcstringNoCC recipients (semicolon separated)
emailBccstringNoBCC recipients (semicolon separated)
emailFromstringNoSender email. Falls back to store's default
senderNamestringNoDisplay name for email/SMS sender. Falls back to store's default
sendSmsboolNoSend SMS notification to customer
smsPhoneNumberstringNoSMS recipient. Falls back to order's customer phone

Public comment with email notification:

POST /api/Orders/AddComment
{
  "orderId": "ORD-12345",
  "commentType": "Public",
  "commentText": "Your order has been shipped and is on its way!",
  "sendEmail": true,
  "emailSubject": "Your order has shipped",
  "emailTo": "customer@example.com",
  "emailFrom": "orders@yourcompany.com",
  "senderName": "Order Team"
}

Internal comment (staff only):

POST /api/Orders/AddComment
{
  "orderId": "ORD-12345",
  "commentType": "Internal",
  "commentText": "Customer called about delivery delay. Offered 10% discount on next order.",
  "createdBy": "Support Team"
}

Comment Templates

You can configure predefined comment templates to standardize communication. Templates are configured in OrderSettings.CommentTemplates. See Order Configuration for setup details.

On this page