Actions181
- Invoice Actions
- Timesheet Actions
- Customer Actions
- Ticket Actions
- Lead Actions
- Project Actions
- Contract Actions
- Estimate Actions
- Expense Actions
- Proposal Actions
- Staff Actions
- Task Actions
- Credit Note Actions
- Item Actions
- Payment Actions
- Contact Actions
- Note Actions
- Knowledge Base Actions
- Knowledge Base Group Actions
- Subscription Actions
- Utility Actions
Ticket → Update
AI-generatedSummary
Update a specific ticket identified by its Ticket ID with various fields, including subject, department, priority, status, message, assigned staff, and custom fields.
Inputs
- Ticket ID (required) — The ID of the ticket to update.
- Update Fields — A collection of fields to update on the ticket. This includes subject (string), department (string ID), priority (Low, Medium, High, Urgent as numeric values), status (Open, In Progress, Answered, On Hold, Closed as numeric values), message (string), assigned staff ID (string), and custom fields where each key is a custom field ID or slug and the value is the string to set.
Output shape
a single record containing the updated ticket data as returned by the PerfexCRM API.
The operation returns the full updated ticket object in JSON format. Custom fields are applied before the API request. If the update fails, an error with details is returned. There is no pagination involved in this operation.
Examples
Example 1: Update ticket subject and status
Set Ticket ID to '123', Update Fields with Subject: 'Updated subject', Status: 'In Progress' (value 2).