customer

Customer - Add Note

Changed on

Add a note to a customer record.

post/customer/add_note

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/customer/add_note
  • Auth
    HTTP bearer

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"
  }
}

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • info

      api operation id post_customer_add_note was added

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      added required request body

    • warning

      deleted the query request parameter id

    • warning

      deleted the query request parameter note

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status