Customer
Update Customer Tags (Bulk)
Update all tags of a customer. Replaces the existing list of tags with the provided list.
PUT
/
customer
/
{id}
/
tags
Authorization
Path
Body
curl --request PUT \
--url https://chat.zoko.io/v2/customer/{id}/tags \
--header 'Content-Type: application/json' \
--header 'apikey: <apikey>' \
--data '{
"tags": "tag1"
}'
[
{
"details": "tag added for customer {{id}}",
"message": "tag added",
"status": "200"
}
]
Authorizations
apikey
string
headerrequiredAuthentication is done via apikey
provided for your account
Include the following in your request header
apikey: "your_apikey_here"
Path Parameters
id
string
requiredID of customer
Body
application/json
tags
string[]
Response
200 - application/json
details
string
message
string
status
string
curl --request PUT \
--url https://chat.zoko.io/v2/customer/{id}/tags \
--header 'Content-Type: application/json' \
--header 'apikey: <apikey>' \
--data '{
"tags": "tag1"
}'
[
{
"details": "tag added for customer {{id}}",
"message": "tag added",
"status": "200"
}
]