Edit a category
Description
This API can be used to edit the name and small talks under a category in your portal.
OAuth Scope:
faqs.UPDATE
Requested Payload:
- name (Mandatory): The name of the category to be added
- smalltalks (Optional): List of small talks
Note:
Categories of type 1 and 2 cannot be edited.
URL:
Copiedhttps://salesiq.zoho.com/api/v2/{screen_name}/smalltalkpacks/{id}/categories/{cat_id}Example
Copiedhttps://salesiq.zoho.com/api/v2/zylker/smalltalkpacks/45000000011013/categories/45000000011015
Payload:
Copied{
"name":"Greeting Messages",
"smalltalks":{
"hi" : ["hello","hola"],
"good morning" : ["hey good morning","bonjour"],
"good evening" : ["bonsoir","hi"]
}
}Sample Response:
Copied{
"url": "/web/v2/smalltalks/smalltalkpacks/45000000011013/categories/45000000011015",
"object": "smalltalkcategories",
"data":{
"smalltalks":{
"hi":["hello","how are you?"],
"good morning":["bonjour","hello there"]
},
"modified_by":{"name": "Patricia Boyle","id": "45000000000006"},
"name": "Greeting Messages",
"created_by":{"name": "Patricia Boyle","id": "45000000000006"},
"type": "3",
"created_time": "1579673623308",
"modified_time": "1579673623308",
"id": "45000000011015"
}
}