Skip to main content
POST
/
customer
/
add_note
Customer - Add Note
curl --request POST \
  --url https://api.skulabs.com/customer/add_note \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "507f1f77bcf86cd799439011",
  "note": "<string>"
}
'
{
  "customer": {
    "_id": "507f1f77bcf86cd799439011",
    "name": "<string>",
    "company": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "address": {},
    "notes": [
      {
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z",
        "note": "<string>"
      }
    ],
    "price_lists": [
      "<string>"
    ],
    "tags": [
      "507f1f77bcf86cd799439011",
      "507f1f77bcf86cd799439012"
    ],
    "log": [
      {
        "user_id": "507f1f77bcf86cd799439011",
        "action": "<string>",
        "details": {},
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "store_id": "507f1f77bcf86cd799439011"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

Customer ID

Example:

"507f1f77bcf86cd799439011"

note
string
required

Note text to add

Response

Note added, returns updated customer

customer
object
required

Customer object with full details