Re-order Custom Fields in Website Chat Window
Description
You can use this API to re-order the fields in the chat window.
URL
Copiedhttps://salesiq.zoho.com/api/v2/{screen name}/apps/{app id}/website/components/fieldsExample
Copiedhttps://salesiq.zoho.com/api/v2/zylker-inc/apps/80000000007001/website/components/chat/fieldsPayload
Copied{
"order" : [1,3,2]
}Success Response
Copied{
"url": "/api/v2/zylker-inc/apps/80000000007001/website/components/chat/fields",
"object": "fields",
"data": [
{
"name": "Phone",
"visibility": "3",
"maxlength": "30",
"is_enabled": "true",
"hint": "Enter your phone number",
"index": 2,
"is_mandatory": "false",
"type": "text",
"is_predefined": "true"
},
{
"name": "Email Address",
"visibility": "3",
"maxlength": "30",
"is_enabled": "true",
"hint": "Enter your email",
"index": 1,
"is_mandatory": "false",
"type": "text",
"is_predefined": "true"
},
{
"name": "Name",
"visibility": "3",
"maxlength": "30",
"is_enabled": "true",
"hint": "Enter your name",
"index": 0,
"is_mandatory": "false",
"type": "text",
"is_predefined": "true"
}
]
}