Update Website Personalized Widget
Description
You can use this API to update the website float widget.
URL
Copiedhttps://salesiq.zoho.com/api/v2/{screenname}/apps/{app id}/website/widgets/personalizedExample
Copiedhttps://salesiq.zoho.com/api/v2/betaenabled/apps/51841000003484047/website/widgets/personalizedPayload
Copied{
"hide_when_offline": "false",
"custom_color": {
"code": "9be1e3a8a198db39a51fc0f5f412ec5a991ae99e5e19614dde099fb6d6f8152f",
"is_enabled": "false"
},
"font": "default",
"hide_in_mobile_device": "false",
"offline_headers": {
"sub_header": "Submit a message",
"action": "",
"header": "We are offline now"
},
"color": "#238de9",
"custom_sticker": {
"is_enabled": "false"
},
"online_headers": {
"sub_header": "How may I help you?",
"action": "",
"header": "We are online"
}
}Success Response
Copied{
"url": "/api/v2/zylker-inc/apps/51841000003484047/website/widgets/personalized",
"object": "personalizedwidget",
"data": {
"modified_time": "1525713533563",
"hide_when_offline": "false",
"custom_color": {
"code": "323232",
"is_enabled": "false"
},
"font": "arial",
"hide_in_mobile_device": "true",
"sticker": "1",
"offline_headers": {
"sub_header": "How can I help you?",
"action": "act",
"header": "We are online"
},
"color": "#238de8",
"online_headers": {
"sub_header": "Submit your message",
"action": "act",
"header": "We are offline"
},
"operators_count": 1
}
}