Update Widget Configurations of an App
Description
You can use this API to update the widget configurations of an app.
OAuth Scope:
SalesIQ.Apps.UPDATE
URL:
Copiedhttps://salesiq.zoho.com/api/v2/{screenname}/apps/{app id}/widgetsExample
Copiedhttps://salesiq.zoho.com/api/v2/zylker-inc/apps/41000000003001widgetsPayload
Copied{
"button":{
"sticker":"<type>"
},
"float":{
"position":"bottom_right",
"sticker":"<type>"
},
"custom_sticker" : {
"type" : "<float|button>"
},
"widget_type":"<float|button|custom>"
}Success Response:
Copied{
"url": "/api/v2/zylkerinc/apps/41000000003001/widgets",
"object": "widgets",
"data": {
"button": {
"sticker": "cord",
"modified_time": "1559485075322"
},
"app_name": "com",
"content": {
"sub_header": "",
"action": "",
"header": ""
},
"float": {
"position": "bottom_right",
"sticker": "coin",
"modified_time": "1559485075286"
},
"widget_type": "float",
"custom_sticker": {
"id": "1559491200099",
"is_preview": false,
"type": "button",
"url": "/web/v2/test2607/downloads/50824000000180011?purpose=apps_custom_sticker&stickerid=1559491200099&ispreview=false"
}
}
}