Page cover image

🚦Status

อัพเดทสถานะของลูกค้า

อัพเดทสถานะของแชท

put

อัพเดทสถานะของแชทโดย customerId และ channelId

Authorizations
Path parameters
channelIdstringRequired

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

Example: 1657695300
customerIdstringRequired

customerId ของลูกค้า

Example: U2bb84b8f680ef825d32f726c483f8800
Body
chatStatusstringOptionalExample: FOLLOW_UP
channelIdstringOptionalExample: 1657695300
customerIdstringOptionalExample: U2bb84b8f680ef825d32f726c483f8800
Responses
200
OK
put
PUT /chats/customers/chatStatus HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "chatStatus": "FOLLOW_UP",
  "channelId": "1657695300",
  "customerId": "U2bb84b8f680ef825d32f726c483f8800"
}

No content

Last updated