🏷️Tag
สร้างแท็กสำหรับแบ่งประเภทลูกค้า
เพิ่มแท็ก โดย customerId และ channelId
Authorizations
Path parameters
channelIdstringRequiredExample:
channelId ของแชนแนลที่ติดต่อกับลูกค้า
1657695300
customerIdstringRequiredExample:
customerId ของลูกค้า
U2bb84b8f680ef825d32f726c483f8800
Body
tagstringOptionalExample:
สนใจสินค้าเดินป่า
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /chats/customers/{channelId}/{customerId}/tags HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"tag": "สนใจสินค้าเดินป่า"
}
{
"data": {
"tags": [
"สนใจสินค้าเดินป่า"
]
}
}
Last updated