📔Note
ข้อความบันทึกเพิ่มเติมสำหรับลูกค้า
เพิ่มบันทึกโดย customerId และ channelId
Authorizations
Path parameters
channelIdstringRequiredExample:
channelId ของแชนแนลที่ติดต่อกับลูกค้า
1657695300
customerIdstringRequiredExample:
customerId ของลูกค้า
U2bb84b8f680ef825d32f726c483f8800
Body
adminIdstringOptionalExample:
6385f2530201ac1f782883xx
notestringOptionalExample:
Hi 👋🏻
Responses
200
OK
application/json
401
Unauthorized
application/json
500
Internal Server Error
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