v1

latestOpenAPI 3.0.32026-07-13149852.3 MB
customer

Customer - Add Note

Add a note to a customer record.

post/customer/add_note

Request body

idstring required

Customer ID

notestring required

Note text to add

Example request

{
  "id": "507f1f77bcf86cd799439011"
}

Response

Note added, returns updated customer

Example response

{
  "customer": {
    "_id": "507f1f77bcf86cd799439011",
    "notes": [
      {
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "tags": [
      "507f1f77bcf86cd799439011",
      "507f1f77bcf86cd799439012"
    ],
    "log": [
      {
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "store_id": "507f1f77bcf86cd799439011"
  }
}