Update ticket template

PATCH {{baseUrl}}/v1/ticketTemplates/:ticketTemplates_id

This API helps update the details of a particular ticket template.

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
ticketTemplateName<string>
max chars : 200
Name of the ticket template
showInCustomerPortal<boolean>
Key that specifies if the template must be displayed in the help center or not
ticketTemplateValues<list>
Values to auto-populate in the different fields in the template

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;showInCustomerPortal&quot;:true,&quot;ticketTemplateName&quot;:&quot;temptest&quot;,&quot;id&quot;:&quot;4000000020001&quot;,&quot;layoutId&quot;:&quot;4000000020012&quot;,&quot;ticketTemplateValues&quot;:{&quot;subCategory&quot;:null,&quot;cf&quot;:{&quot;cf_severity_percentage&quot;:&quot;0.0&quot;},&quot;productId&quot;:&quot;4000000009012&quot;,&quot;contactId&quot;:null,&quot;subject&quot;:&quot;UrgentProblem&quot;,&quot;departmentId&quot;:&quot;4000000007073&quot;,&quot;dueDate&quot;:null,&quot;channel&quot;:null,&quot;description&quot;:null,&quot;secondaryContacts&quot;:[&quot;4000000009076&quot;,&quot;4000000009062&quot;],&quot;priority&quot;:null,&quot;classification&quot;:null,&quot;assigneeId&quot;:null,&quot;accountId&quot;:null,&quot;phone&quot;:&quot;9876545645&quot;,&quot;category&quot;:null,&quot;email&quot;:&quot;jacks@zylker.com&quot;,&quot;status&quot;:null}}