⏰Remind
ตั้งค่าแจ้งเตือนของลูกค้า
เพิ่มแจ้งเตือนโดย customerId และ channelId
Authorizations
Path parameters
channelIdstringRequiredExample:
channelId ของแชนแนลที่ติดต่อกับลูกค้า
1657695300
customerIdstringRequiredExample:
customerId ของลูกค้า
U2bb84b8f680ef825d32f726c483f8800
Body
textstringOptionalExample:
แจ้งว่าแก้ปัญหาการส่งข้อความแล้ว
createdBystringOptionalExample:
6385f2530201ac1f782883xx
remindedAtstringOptionalExample:
2022-12-08 13:00:00
Responses
200
OK
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /chats/customers/{channelId}/{customerId}/reminds HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 181
{
"text": "แจ้งว่าแก้ปัญหาการส่งข้อความแล้ว",
"createdBy": "6385f2530201ac1f782883xx",
"remindedAt": "2022-12-08 13:00:00"
}
{
"data": {
"reminds": [
{
"id": "6390997eaaf357a51da991xx",
"text": "แจ้งว่าแก้ปัญหาการส่งข้อความแล้ว",
"createdAt": "2022-12-07T14:20:43.042Z",
"remindedAt": "2022-12-08T06:00:00Z",
"createdBy": "6385f2530201ac1f782883xx"
}
]
}
}
Last updated