Page cover image

Remind

ตั้งค่าแจ้งเตือนของลูกค้า

เพิ่มแจ้งเตือน

put

เพิ่มแจ้งเตือนโดย customerId และ channelId

Authorizations
Path parameters
channelIdstringRequired

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

Example: 1657695300
customerIdstringRequired

customerId ของลูกค้า

Example: U2bb84b8f680ef825d32f726c483f8800
Body
textstringOptionalExample: แจ้งว่าแก้ปัญหาการส่งข้อความแล้ว
createdBystringOptionalExample: 6385f2530201ac1f782883xx
remindedAtstringOptionalExample: 2022-12-08 13:00:00
Responses
200
OK
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