Update the visitor's custom Information
Scope:
client
id
required
The id of the visitor
visitor_id
required
The visitor id to update
custom_info_1
required
Custom Information #1 for visitor - Limit of 350 characters
custom_info_2
required
Custom Information #2 for visitor - Limit of 350 characters
custom_info_3
required
Custom Information #3 for visitor - Limit of 350 characters
custom_label_1
optional
Custom Information Label #1 for visitor - Limit of 150 characters
custom_label_2
optional
Custom Information Label #2 for visitor - Limit of 150 characters
custom_label_3
optional
Custom Information Label #3 for visitor - Limit of 150 characters
message
The response message
status
The system response status. Will be ok or error
curl
example request
1
curl -X POST -d '{"visitor_id":1534,
"custom_info_1":"Custom value 1",
"custom_info_2":"Custom value 2",
"custom_info_3":"Custom value 3"}'
2
-H "Content-Type: application/json"
3
-H "Authorization: Bearer {{Oauth Token}}"
4
https://developer.livehelpnow.net/api/visitor/
{{6f83df80-d39b-4a9f-a2b6-892d88ea4ab2-1-
BDgXtjZ1}}/custom_info
example response
1 {
2 "message": "Visitor custom info updated",
3 "status": "ok"
4 }