Page cover image

📔Note

ข้อความบันทึกเพิ่มเติมสำหรับลูกค้า

เพิ่มบันทึก

put

เพิ่มบันทึกโดย customerId และ channelId

Authorizations
Path parameters
channelIdstringRequired

channelId ของแชนแนลที่ติดต่อกับลูกค้า

Example: 1657695300
customerIdstringRequired

customerId ของลูกค้า

Example: U2bb84b8f680ef825d32f726c483f8800
Body
adminIdstringOptionalExample: 6385f2530201ac1f782883xx
notestringOptionalExample: Hi 👋🏻
Responses
200
OK
application/json
put
PUT /chats/customers/{channelId}/{customerId}/notes HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 59

{
  "adminId": "6385f2530201ac1f782883xx",
  "note": "Hi 👋🏻"
}
{
  "data": {
    "notes": [
      {
        "id": "6390997eaaf357a51da991xx",
        "text": "ติดปัญหาเรื่องส่งข้อความ ⚠️",
        "createdAt": "2025-06-24T21:55:28.276Z",
        "createdBy": "6385f2530201ac1f782883xx"
      }
    ]
  }
}

Last updated