Page cover image

🏷️Tag

สร้างแท็กสำหรับแบ่งประเภทลูกค้า

เพิ่มแท็ก

put

เพิ่มแท็ก โดย customerId และ channelId

Authorizations
Path parameters
channelIdstringRequired

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

Example: 1657695300
customerIdstringRequired

customerId ของลูกค้า

Example: U2bb84b8f680ef825d32f726c483f8800
Body
tagstringOptionalExample: สนใจสินค้าเดินป่า
Responses
200
OK
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