Customers

Create a customer comment

Creates a new customer comment.

post/admin/customers/customer-notes

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/customers/customer-notes
  • Auth: HTTP basic

Request body

customer_idnumber required

Customer ID

datetimestring

Customer comment created datetime

administrator_idnumber

Administrator ID

typestring

Type: 'comment', 'customer', 'finance', 'service', 'message', 'support', 'call'. Default: 'comment'

pinned_datestring

Pinned date time

classstring

Class: 'default', 'primary', 'success', 'warning', 'danger', 'info'.

titlestring

Title

namestring

Name

commentstring required

Comment

valuesstring

Values

scheduled_send_timestring

Scheduled date time

assigned_tonumber

Admin ID to be assigned a customer comment

is_donestring

Is done. Default value: '0'

is_sendstring

Is send. Default value: '0'

is_pinnedstring

Is pinned. Default value: '0'

Example request

{
  "customer_id": 1,
  "datetime": "0000-00-00 00:00:00",
  "administrator_id": 1,
  "type": "comment",
  "pinned_date": "0000-00-00 00:00:00",
  "class": "info",
  "title": "title",
  "name": "name",
  "comment": "comment",
  "values": "values",
  "scheduled_send_time": "0000-00-00 00:00:00",
  "assigned_to": 1,
  "is_done": "1",
  "is_send": "1",
  "is_pinned": "1"
}

Response

idnumber required

Customer comment ID

Example response

{
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.