cURL
curl --request PUT \ --url https://chat.zoko.io/v2/customer/{id}/tags \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "tags": [ "tag1" ] } '
[ { "status": "200", "message": "tag added", "details": "tag added for customer {{id}}" } ]
Update all tags of a customer. Replaces the existing list of tags with the provided list.
Authentication is done via apikey provided for your account
apikey
Include the following in your request header
apikey: "your_apikey_here"
ID of customer
Tags List
Update Customer Tags List
"200"
"tag added"
"tag added for customer {{id}}"