Update conversation tag
Cập nhật gắn nhãn và gỡ nhãn hội thoại. Nếu cập nhật thành công, sẽ trả về danh sách tagIds hiện tại sau khi thực hiện việc gắn, gỡ nhãn.
Request
Xem sample Postman tại đây.
Chú ý: tagId có thể lấy từ API Conversation tags.
curl --location 'https://vpage.open.nhanh.vn/v3.0/conversation/updatetags?appId={{appId}}&businessId={{businessId}}' \
--header 'Authorization: {{accessToken}}' \
--header 'Content-Type: application/json' \
--data '{
"pageId": "{{pageId}}",
"conversationId": "{{conversationId}}",
"addTags": ["tagId_1", "tagId_2"],
"removeTags": ["tagId_3", "tagId_4"]
}'
Response
Xem cấu trúc chung tại đây.
Failed response
Xem các mã lỗi chung tại đây.
Successful response
{
"code": 1,
"data": {
"tags": ["DDh805cBXzy4YYO3QEwS","XzQJxZcBXzy4YYO3rBBR"]
}
}
Last updated