Customers | B2C
Add a comment to a customer
Sample request for adding a comment without notifications:
POST /api/PrivateCustomers/AddComment
{
"CustomerId": "customer@example.com",
"CommentText": "Customer requested a callback regarding their recent order.",
"CreatedBy": "CRM System"
}
Sample request for adding a comment with email notification:
POST /api/PrivateCustomers/AddComment
{
"CustomerId": "customer@example.com",
"CommentText": "Thank you for contacting us. We have received your inquiry and will respond shortly.",
"SendEmail": true,
"EmailSubject": "Inquiry Received",
"EmailTo": "customer@example.com",
"EmailFrom": "support@yourcompany.com",
"SenderName": "Customer Support"
}
Sample request for adding a comment with SMS notification:
POST /api/PrivateCustomers/AddComment
{
"CustomerId": "customer@example.com",
"CommentText": "Your order has been shipped and will arrive within 2-3 business days.",
"SendSms": true,
"SmsPhoneNumber": "+4712345678"
}
Notes:
- CreatedBy defaults to the current API user's username if not specified.
- EmailTo, EmailFrom, SenderName, and SmsPhoneNumber will fall back to the store's (or global) default settings in Omnium if not specified.
- EmailTo falls back to the customer's email. SmsPhoneNumber falls back to the customer's phone.
post/api/PrivateCustomers/AddComment
Request
- Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
- URL: https://api.omnium.no/api/PrivateCustomers/AddComment
- Auth: API key in header Authorization
Request body
Response
Comment added successfully
Changes
No recorded changes to this operation across all 1 revision of this API.